Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Idle timeout problem

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

Re: Idle timeout problem

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

Hall of Fame Super Silver

Re: Idle timeout problem

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

4 REPLIES

Re: Idle timeout problem

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

New Member

Re: Idle timeout problem

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

regards

Haris

Hall of Fame Super Silver

Re: Idle timeout problem

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

New Member

Re: Idle timeout problem

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

Thanks

713
Views
0
Helpful
4
Replies
CreatePlease login to create content