Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Cancelling telnet connections on a 4509 switch

Can I get some help on cancelling telnet sessions that are stuck. We have the time out turned off and we have done 15 successful logins but we just timed out the sessions but since the time out is turned off on the switch...well you see problem.

4 REPLIES

Re: Cancelling telnet connections on a 4509 switch

use the commands "sho line" and see what vty lines are in use. You can then use the commands "clear line vty x" to then clear the inactive telnet session.

Hall of Fame Super Silver

Re: Cancelling telnet connections on a 4509 switch

Eric

If you follow the suggestions made by Matthew it should work. If I am correct in understanding that all of the telnet sessions are hung, then you do not really need the step with show line. You want to terminate the telnet on all the vty lines so just go through clear line vty x with x from 0 to 15.

I would also suggest that this demonstrates one risk of turning off the inactivity timeout. I would suggest that it is better to configure a timeout that is very long rather than disabling the check for inactivity.

HTH

Rick

New Member

Re: Cancelling telnet connections on a 4509 switch

Rick I aggree with you on the setting a time out if you do just disconnect from the telnet session, but the higher powers that be (My Boss) siad that he does not want to have a time out because he leaves telent sessions open for the whole day. "as I shrug my shoulders and say oh well"

Thanks for the info Rick

Eric.

Hall of Fame Super Silver

Re: Cancelling telnet connections on a 4509 switch

Eric

I sympathesize :(

Would your boss consider it an acceptable compromise if you set the inactivity timeout to 48 hours (2 days)? In fact the inactivity timeout can be longer than that (max is 35791 minutes).

And if he still wants no inactivity timeout, then you just do what he says, and hope that all the devices are easy to get to their console ports.

HTH

Rick

329
Views
0
Helpful
4
Replies
CreatePlease to create content