cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5026
Views
0
Helpful
9
Replies

exec timeout not working

shirwaziri1_2
Level 1
Level 1

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?

9 Replies 9

onita
Level 1
Level 1

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

we use command prompt..no client for telnet

does your running configuration list

service tcp-keepalives-in

glen.grant
VIP Alumni
VIP Alumni

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

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

HTH

Rick

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).


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

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

Hi Blau,

Accept my sincere thanks for your prompt reply.

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


Thanks,

HB

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco