Search This Blog

Wednesday, July 28, 2004

Clear idle VTY sessions



I had this once with a 7500 and a friend at Cisco told me this procedure. I'm not sure if it would help you though. I had an idle session in "show users" output.

To clear the idle session, I typed "show tcp brief". My friend said the stuck one should be in "ESTAB" state, but the one I cleared said "LASTACK", so you can always go by the foreign address. It's better to kick people off temporarily than to have to reboot the router just to clear a stuck VTY session.

To clear the session, type "clear tcp tcb xxxxxxxx", using the hexadecimal TCB address at the beginning of the line from show tcp brief. Then check show users output to see if the session has disappeared.



Diane Turley

Network Engineer

Xspedius Communications Co.

636-625-7178

No comments: