From: CCIE 19999 (ccie@iprimus.com.au)
Date: Mon Aug 27 2007 - 05:45:45 ART
Andy,
" The session-timeout command behaves slightly differently on virtual (vty)
terminals than on physical console, auxiliary (aux), and terminal (tty)
lines. When a timeout occurs on a vty, the user session returns to the EXEC
prompt. When a timeout occurs on physical lines, the user session is logged
out and the line returned to the idle state. 
You can use a combination of the exec-timeout and session-timeout line
configuration commands, set to approximately the same values, to get the
same behaviour from virtual lines that the session-timeout command causes on
physical lines."
You need to set the exec-timeout value on your lines to get the result you
are after.
 
My working config is as below.
line con 0
 session-timeout 300 
 exec-timeout 0 0
 transport input telnet
line 1 16
 session-timeout 720 
 no exec
 exec-timeout 0 0
 transport input telnet
HTH,
Shine
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Toh
Soon, Lim
Sent: Monday, 27 August 2007 5:47 PM
To: andy@cloud9.net
Cc: ccielab@groupstudy.com
Subject: Re: Pls help - reverse telnet times out
Hi Andy,
Please use a combination of "session-timeout" under your terminal server's
line 1 32 and "exec-timeout" under your lab equipment's line con 0, to
achieve the kind of timeout you require.
HTH :-)
Thank you.
B.Rgds,
Lim TS
On 8/27/07, andy@cloud9.net <andy@cloud9.net> wrote:
>
>   I'm hoping that someone may have an idea or will help explain a bit
> of an annoyance I'm having.
>
>   I have a Cisco 3620 with an NM-32 (32 port async) and I'm using it
> to reverse telnet into my lab equipment.
>
>   I'm have the connectivity I want but for some reason that stumps me
> after 10 minutes the session times out.
>
>   I've tried to adjust all the timers having to do with timeouts but
> nothing seems to help me from dropping sessions after 10 minutes.
>
>   The config on the terminal server is:
>
>   line con 0
>
>    exec-timeout 0 0
>
>    password 7 <removed>
>
>    logging synchronous
>
>   line 1 32
>
>    access-class 99 in
>
>    exec-timeout 0 0
>
>    logging synchronous
>
>    no exec
>
>    transport input telnet
>
>    transport output telnet
>
>   line aux 0
>
>    transport input all
>
>   line vty 0 4
>
>    session-timeout 120
>
>    access-class 99 in
>
>    exec-timeout 0 0
>
>    password 7 <removed>
>
>    logging synchronous
>
>    login local
>
>    transport input ssh
>
>   line vty 5 15
>
>    session-timeout 120
>
>    access-class 99 in
>
>    exec-timeout 0 0
>
>    password 7 <removed>
>
>    logging synchronous
>
>    login local
>
>    transport input ssh
>
>   Here are is a show line of a session that went from active to ready
> at the 10 minute mark:
>
>
>
>
****************************************************************************
*
> *************************
>
>   **************************
>
>   **                      **
>
>   ** 9 minutes 59 seconds **
>
>   **                      **
>
>   **************************
>
>   TermServer#show line 2
>
>      Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise
> Overruns   Int
>
>   *    2 TTY   9600/9600  -    -      -    -   99      3       1
> 0/0       -
>
>   Line 2, Location: "", Type: "vt100"
>
>   Length: 69 lines, Width: 132 columns
>
>   Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits
>
>   Status: Ready, Connected, Active
>
>   Capabilities: EXEC Suppressed
>
>   Modem state: Ready
>
>   Modem hardware state: CTS DSR  DTR RTS
>
>   Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
>
>                   ^^x    none   -     -       none
>
>   Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session
> Dispatch
>
>                   never         never                        none     not
> set
>
>                               Idle Session Disconnect Warning
>
>                                 never
>
>                               Login-sequence User Response
>
>                                00:00:30
>
>                               Autoselect Initial Wait
>
>                                 not set
>
>   Modem type is unknown.
>
>   Session limit is not set.
>
>   Time since activation: 00:09:59
>
>   Editing is enabled.
>
>   History is enabled, history size is 20.
>
>   DNS resolution in show commands is enabled
>
>   Full user help is disabled
>
>   Allowed input transports are telnet.
>
>   Allowed output transports are telnet.
>
>   Preferred transport is telnet.
>
>   No output characters are padded
>
>   No special data dispatching characters
>
>   **************************
>
>   **                      **
>
>   ** 10 minutes 1 seconds **
>
>   **                      **
>
>   **************************
>
>   TermServer#show line 2
>
>      Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise
> Overruns   Int
>
>        2 TTY   9600/9600  -    -      -    -   99      3       1
> 0/0       -
>
>   Line 2, Location: "", Type: ""
>
>   Length: 24 lines, Width: 80 columns
>
>   Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits
>
>   Status: Ready
>
>   Capabilities: EXEC Suppressed
>
>   Modem state: Ready
>
>   Modem hardware state: CTS DSR  DTR RTS
>
>   Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
>
>                   ^^x    none   -     -       none
>
>   Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session
> Dispatch
>
>                   never         never                        none     not
> set
>
>                               Idle Session Disconnect Warning
>
>                                 never
>
>                               Login-sequence User Response
>
>                                00:00:30
>
>                               Autoselect Initial Wait
>
>                                 not set
>
>   Modem type is unknown.
>
>   Session limit is not set.
>
>   Time since activation: never
>
>   Editing is enabled.
>
>   History is enabled, history size is 20.
>
>   DNS resolution in show commands is enabled
>
>   Full user help is disabled
>
>   Allowed input transports are telnet.
>
>   Allowed output transports are telnet.
>
>   Preferred transport is telnet.
>
>   No output characters are padded
>
>   No special data dispatching characters
>
>
>
>
****************************************************************************
*
> *************************
>
>   I tested the console ports on the routers and I do not time out on
> them when I direct connect so I'm pretty sure it's something to do
> with the terminal server.
>
>   Any suggestions would great.
>
>   Andy
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:13 ART