Re: Pls help - reverse telnet times out

From: Bajo (bajoalex@gmail.com)
Date: Fri Oct 12 2007 - 17:47:32 ART


Andy, just to add to CCIE19999's points,

"exec-timeout" is for INCOMING sessions to your router and
"session-timeout" is for OUTGOING sessions from your router. With that
said, you need to check if you are being disconnected due to
"absolute-timeout", "session-timeout, " or " exec-timeout" either
locally or from remote site.

On 8/27/07, andy <andy@cloud9.net> wrote:
> Just wanted to update that I'm still getting disconnected after a 10 minute
> timeout that I can not figure out how to disable or change.
>
> As for the remote routers, if I connect via a console cable I do not get a
> timeout. Only when I'm using the terminal server is the timeout happening.
>
> I have tried multiply different values for session-timeout and exec-timeout
> on the line interface with no change in the 10 minute disconnects.
>
> Anyone have any other suggestions?
>
> Once again the base configuration on the terminal server is:
>
> line 1 32
> access-class 99 in
> exec-timeout 0 0
> logging synchronous
> no exec
> transport input telnet
> transport output telnet
>
>
> I'm beginning to think I might be up against some IOS bug or something.
>
> Andy
>
>
> -----Original Message-----
> From: CCIE 19999 [mailto:ccie@iprimus.com.au]
> Sent: Monday, August 27, 2007 4:46 AM
> To: 'Toh Soon, Lim'; andy@cloud9.net
> Cc: ccielab@groupstudy.com
> Subject: RE: Pls help - reverse telnet times out
>
> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>

-- 
Kind Regards,

Bajo



This archive was generated by hypermail 2.1.4 : Fri Nov 16 2007 - 13:11:14 ART