02-28-2006 01:31 AM - edited 03-05-2019 11:48 AM
I am trying to stop my routers (IOS 12.2) from kicking me off console or telnet due to no activity. I have tried "session-timeout 0" and "session-timeout 60" with and without appending "output" for the console, vty and aux, but it still kicks me out after 10 minutes or so. Is this command is just for dial-up (I could only find it in the Dial Solutions Command Reference), and if so, what do I use for the console and vty lines?
Thanks in advance for any help.
Solved! Go to Solution.
02-28-2006 01:46 AM
hi
Though absolute-timeout is very much similar to session-timeout can you configure the same and check whether you are able to get what you need .
Also you can check off about exec-timeout command too..
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124tcr/ttsv_r/ter_a1ht.htm#wp1045019
regds
02-28-2006 08:58 AM
The session-timeout is used to put limits on the duration of the session. The original question was posed in terms of inactivity timeout and session-timeout does not affect this. The configuration for inactivity is exec-timeout. This operates on the console and on the vty ports. Its default is 10 minutes and you can configure it for longer (or shorter). If you configure exec-timeout 0 it disables the inactivity timeout. While I sometimes might do this on the console, I think it is potentially dangerous to disable inactivity on the vty ports. I might put a very long timeout on the vty if you want, but avoid disabling inactivity timeout on the vty.
HTH
Rick
02-28-2006 01:46 AM
hi
Though absolute-timeout is very much similar to session-timeout can you configure the same and check whether you are able to get what you need .
Also you can check off about exec-timeout command too..
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124tcr/ttsv_r/ter_a1ht.htm#wp1045019
regds
02-28-2006 01:54 AM
if you want to disable this feature use the "No " form of the command or use "session-timeout 0 0"
regards
Haris
02-28-2006 08:58 AM
The session-timeout is used to put limits on the duration of the session. The original question was posed in terms of inactivity timeout and session-timeout does not affect this. The configuration for inactivity is exec-timeout. This operates on the console and on the vty ports. Its default is 10 minutes and you can configure it for longer (or shorter). If you configure exec-timeout 0 it disables the inactivity timeout. While I sometimes might do this on the console, I think it is potentially dangerous to disable inactivity on the vty ports. I might put a very long timeout on the vty if you want, but avoid disabling inactivity timeout on the vty.
HTH
Rick
02-28-2006 05:32 PM
exec-timer worked like a charm. It was getting rather tedious having to log in everytime I spent a few minutes studying.
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide