From: Thomwin Chen (thomwin_chen@yahoo.com)
Date: Sat Sep 30 2006 - 05:01:03 ART
Hi Tim,
exec-timeout is used for timing out the idle user who is currently login to the router.
session-timeout is used for timing out the idle connection the user made to somewhere else (eg : telneting to another router)
R3#show run | be line vty 0 4
line vty 0 4
session-timeout 1
exec-timeout 30 0
password 7 xxxxx
R3#show sess
Conn Host Address Byte Idle Conn Name
* 1 SW1 192.168.1.7 0 1 SW1
because the connection from R3 to SW1 has been idle for 1 minute, resuming will fail.
R3#1
[Resuming connection 1 to SW1 ... ]
[Connection to SW1 closed by foreign host]
HTH
Rgds,
Thomwin
Tim Chan <timanji@yahoo.com> wrote:
Is there much of a difference between "exec-timeout 5 0" vs "session-timeout
5"
under the vty lines?
According to the DocCD, they both set a timeout
interval based on idle traffic.
When is one preferred over the other?
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:41 ART