10-19-2007 02:39 AM - edited 03-03-2019 07:14 PM
Sometimes we will forget we are logged into a router, how can I logout idled sessions?
10-19-2007 03:26 AM
hi
Try this
exec-timeout 0 10
regds
10-19-2007 05:32 AM
Edwin
While I agree that having an idle timeout is a good protection against having telnet sessions that someone forgot to logoff I believe that setting a timeout of 10 seconds is a bit stringent. Perhaps you are proposing a temporary change to clear the session and then go back to normal? But that does not work. Existing sessions are not impacted by changing the exec-timeout. I just tested it. I established a telnet, and then changed the exec-timeout of the vty. It has been idle for several minutes and has not been terminated by the short exec-timeout.
Andy
I believe that you should check out the command clear line vty and see if it does what you need.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide