Somehow my console port is hung. When I telnet to the server and do a show user and I see the following for the console.
Line User Host(s) Idle Location
0 con 0 172.20.201.35 22:04:14
How do I clear the connections on the console so I can access again, without having to reload the sup.
these are not under the vty. all of these hosts are showing from the console. I had several ssh connections from the console and lost connection to the last device and now it is hung.
I wonder if it would work if you clear by absolute line number instead of by relative line number (line vty 0 is a relative number, line 0 is the absolute line number for the console). So I wonder if clear line 0 would resolve your problem.
run a 'sh host', it should look something like this:
Host Port Flags Age Type Address(es)
R2 2002 (perm, OK) 2 IP 220.127.116.11
R4 2004 (perm, OK) ** IP 18.104.22.168
R6 2006 (perm, OK) ** IP 22.214.171.124
BB1-2 2007 (perm, OK) 2 IP 126.96.36.199
Frame 2008 (perm, OK) ** IP 188.8.131.52
cat3550 2009 (perm, OK) ** IP 184.108.40.206
cat3560a 2010 (perm, OK) 78 IP 220.127.116.11
cat3560b 2011 (perm, OK) 49 IP 18.104.22.168
R1 2001 (perm, OK) ** IP 22.214.171.124
R3 2003 (perm, OK) ** IP 126.96.36.199
R5 2005 (perm, OK) ** IP 188.8.131.52
use 'clear line x', where x is the last number(s) under port.
to clear my R1 I type 'clear line 1'
edit: basicly drop the first part, 2001 -> 1
Hope that helps.
I do not show anything when I do a sh host. I only get the display when I do a show user, and it shows multiple connections from the console port.
Maybe try connecting to the console again and use
to get session number and use:
disconnect (may require 'ssh' option?)
to disconnect session(s).