exec timeout not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2007 05:52 AM - edited 03-03-2019 05:37 AM
I want my telnet session to time out after 3 minutes. But although I add:
line vty 0 4
exec-timeout 3 0
login authentication local_auth
line vty 5 15
exec-timeout 3 0
The telnet session remains on. Not sure why it does this. What am i doing wrong?
- Labels:
-
Other Networking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2007 06:34 AM
Could it be that your telnet client sends an anti-idle string.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2007 06:46 AM
we use command prompt..no client for telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2007 12:19 PM
does your running configuration list
service tcp-keepalives-in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2007 04:45 PM
Try exec-timeout 3 . Doesn't look right the way you have it , not sure what the extra 0 is for .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2007 11:12 AM
Glen
The extra 0 is there because you can configure the exec-timeout with minutes and seconds. So the 0 is for 0 seconds.
Shir
I am puzzled why the exec-timeout seems to not be working. The config looks correct. Can you do a telnet that does not timeout after 3 minutes of inactivity, do a show user to verify which line you are connected to, and do a show line for that line and then post these outputs? That might give us a clue as to what is going on.
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2022 04:25 AM
3 means minutes
0 means seconds
The command simply stated that if you let your terminal idle, it will exit after 180 seconds (3 minutes 0 seconds).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2013 11:47 PM
Hi Shir,
I have noticed the same bahviour in my routers also where is set timeout for 30 mins but even then, the sessions are found to be in idle state for a day also.
I am not able to undertand that why it behaving like this.
Did you get the answer to your concern? Please share.
Thanks,
HB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2013 12:57 AM
Hello,
Check this:
https://supportforums.cisco.com/thread/49185
I do not have access so I am no really sure if it helps.
Best Regards
Please rate all helpful posts and close solved questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2013 08:01 AM
Hi Blau,
Accept my sincere thanks for your prompt reply.
I checked the thread but this is not exactly matching my issue.
Thanks,
HB
