Re: what "session-timeout" command does? it' does nothing on my

From: Benedict Munyao (bmunyao@gmail.com)
Date: Fri Oct 12 2007 - 17:25:16 ART


I labbed it up as follows:

R1--------------------------R2
155.6.0.1 155.6.0.2

R1
lin con 0
 session-timeout 1

telnet 155.6.0.2
>R2

With this configuration, the session disconnects after 1 minute and I'm
returned to idle state on R1.

Next I moved the command to vty lines as follows:

lin con 0
 no session-timeout 1
lin vty 0 4
 session-timeout 1

telnet 155.6.0.2
>R2

This time it did not time out, unless I used exec-timeout 1 on vty lines at
R2.

Perhaps other scenarios produce other results, but this led me to the
conclusion that the command affects outgoing sessions only when set on the
local console line. I could not make sense of part of the explanation on
doccd for this command.

Sincerely
Benedict Munyao

On 10/12/07, Bajo <bajoalex@gmail.com> wrote:
>
> Am not sure about that Benedict. Have tested this many time and it
> works like a charm:
>
> 1. Configure the session-timeout on R2.
> 2. Telnet to R2 from R1, then
> 3. Telnet from R2 to R3.
> 4. Notice R3 will disconnect exactly at value of "session-timeout" and
> prompt is back to R2>
>
>
>
> On 10/12/07, Benedict Munyao <bmunyao@gmail.com> wrote:
> > Guys,
> >
> > Indeed session-timeout does terminate outgoing telnet sessions, but only
> > when set on the console line, not vty lines.
> >
> > HTH
> >
> > Benedict Munyao
> >
> >
> >
> > On 10/12/07, Eagle <ddycus@gmail.com> wrote:
> > > Might also want to look at absolute timeout settings as well...
> > >
> > > On 10/12/07, Gregory Gombas <ggombas@gmail.com> wrote:
> > > >
> > > > Sirus did you ever find the answer to this?
> > > >
> > > > On 10/10/07, Gregory Gombas <ggombas@gmail.com> wrote:
> > > > > Hmm I think you're right, I tried this in the lab and couldn't get
> it
> > > > > to kill telnet session. I will have to try it on a terminal
> server...
> > > > >
> > > > > On 10/9/07, sirus MOGHADASIAN <cyrus.mgh@gmail.com> wrote:
> > > > > > As I tested it's not work ether way, I think it just related to
> > > > reverse
> > > > > > telnet in that telnet session activate exec process vs reverse
> > telnet
> > > > > > activate session.
> > > > > >
> > > > > >
> > > > > > cyrus
> > > > > >
> > > > > > On 10/9/07, Bajo < bajoalex@gmail.com> wrote:
> > > > > > >
> > > > > > > Try to telnet IN to the router with session-timeout configured
> and
> > > > > > > telnet OUT from it to another and you will see the that it
> > should
> > > > > > > timeout in 1 min.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 10/9/07, sirus MOGHADASIAN < cyrus.mgh@gmail.com> wrote:
> > > > > > > > Hi GS,
> > > > > > > >
> > > > > > > > here is my configs:
> > > > > > > >
> > > > > > > > line vty 0 4
> > > > > > > > session-timeout 1
> > > > > > > > password cisco
> > > > > > > > absolute-timeout 15
> > > > > > > > login local
> > > > > > > >
> > > > > > > > when I telnet to router nothing happens after 1 minute , DOC
> CD
> > > > says
> > > > > > > that it
> > > > > > > > should come back to EXEC mode after timeout, but nothing
> > happens,
> > > > > > > >
> > > > > > > > any idea?
> > > > > > > >
> > > > > > > >
> > > > > > > > Cyrus
> > > > > > > >
> > > > > > > >
> > > >
> > _______________________________________________________________________
> > > > > > > > Subscription information may be found at:
> > > > > > > > http://www.groupstudy.com/list/CCIELab.html
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Kind Regards,
> > > > > > >
> > > > > > > Bajo
> > > > > >
> > > > > >
> > > >
> > _______________________________________________________________________
> > > > > > 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