cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1222
Views
0
Helpful
2
Replies

Logout idled telnet sessions?

whiteford
Level 1
Level 1

Sometimes we will forget we are logged into a router, how can I logout idled sessions?

2 Replies 2

spremkumar
Level 9
Level 9

hi

Try this

exec-timeout 0 10

regds

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

HTH

Rick
Review Cisco Networking products for a $25 gift card