Cancelling telnet connections on a 4509 switch

Unanswered Question
mattcalderon Thu, 05/15/2008 - 06:57
User Badges:
  • Silver, 250 points or more

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.

Richard Burts Thu, 05/15/2008 - 07:21
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

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.

Richard Burts Thu, 05/15/2008 - 08:06
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

Actions

This Discussion