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

exec timeout not working

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?

8 REPLIES
New Member

Re: exec timeout not working

Could it be that your telnet client sends an anti-idle string.

New Member

Re: exec timeout not working

we use command prompt..no client for telnet

New Member

Re: exec timeout not working

does your running configuration list

service tcp-keepalives-in

Purple

Re: exec timeout not working

Try exec-timeout 3 . Doesn't look right the way you have it , not sure what the extra 0 is for .

Hall of Fame Super Silver

Re: exec timeout not working

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

New Member

exec timeout not working

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

exec timeout not working

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

Best Regards Please rate all helpful posts and close solved questions
New Member

exec timeout not working

Hi Blau,

Accept my sincere thanks for your prompt reply.

I checked the thread but this is not exactly matching my issue.


Thanks,

HB

1639
Views
0
Helpful
8
Replies