cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
756
Views
0
Helpful
3
Replies

Session timeout not working

dshinnick
Level 1
Level 1

Hey gang-

I'm Hyperterminal-ing in to my 2811 router via the console port and the router keeps logging me off and dumping me out to user mode after a few minutes of inactivity. I'd like it to leave me in for an hour or more before doing so; I'm studying and it's a pain to have to keep re-logging in. I've tried the "session-timeout" parameter in Line Con 0 mode; it seems to have no effect. Any idea what the right command is?

Thanks much-

Dave S.

3 Replies 3

Richard Burts
Hall of Fame
Hall of Fame

Dave

If you want to stay logged in for 1 hour then this is what you need:

line con 0

exec-timeout 60

exec-timeout is an inactivity timer and is very different from the session timer (as you have discovered).

HTH

Rick

HTH

Rick

Ah, thank you so much! I'll have to do yet more research and figure out the difference.

thanks again-

paul.matthews
Level 5
Level 5

exec-timeout is indeed the one you need, but setting it to long values can be a security risk if you forget to log out and just disconnect.

Setting to an hour means that if you don't logout and you have been in enable mode, there is a window of an hour from the last thing you type where someone can connect and have full access to the config of the router.

That means they can compromise the passwords, potentially for the whole network.

While I understand that it is inconvenient, and it may just be a lab network but it is a bad habit to get into, as it can easily find its way into your personal script that you add to every device when you first start to configure it - you know the one - setting password encryption, timestamping and no ip domain-lookup...

P.

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:

Review Cisco Networking products for a $25 gift card