cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7270
Views
5
Helpful
4
Replies

Idle timeout problem

im-here-now
Level 1
Level 1

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.

2 Accepted Solutions

Accepted Solutions

spremkumar
Level 9
Level 9

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

View solution in original post

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

HTH

Rick

View solution in original post

4 Replies 4

spremkumar
Level 9
Level 9

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

haris.cisco
Level 1
Level 1

if you want to disable this feature use the "No " form of the command or use "session-timeout 0 0"

regards

Haris

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

HTH

Rick

im-here-now
Level 1
Level 1

exec-timer worked like a charm. It was getting rather tedious having to log in everytime I spent a few minutes studying.

Thanks

Review Cisco Networking for a $25 gift card