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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Catalyst console port hung

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 22:04:14 22:02:07 22:01:29 21:45:05 21:25:53 20:41:39

How do I clear the connections on the console so I can access again, without having to reload the sup.


Re: Catalyst console port hung


the command is clear line vty x, where x is a number 0 to 15 for each session.

Hope this helps


New Member

Re: Catalyst console port hung

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.

New Member

Re: Catalyst console port hung

What is the config under "line con 0"?

If you find a working solution please post.

Hall of Fame Super Silver

Re: Catalyst console port 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.



New Member

Re: Catalyst console port hung

nope the list still exists after clear line 0

New Member

Re: Catalyst console port hung

run a 'sh host', it should look something like this:

Host Port Flags Age Type Address(es)

R2 2002 (perm, OK) 2 IP

R4 2004 (perm, OK) ** IP

R6 2006 (perm, OK) ** IP

BB1-2 2007 (perm, OK) 2 IP

Frame 2008 (perm, OK) ** IP

cat3550 2009 (perm, OK) ** IP

cat3560a 2010 (perm, OK) 78 IP

cat3560b 2011 (perm, OK) 49 IP

R1 2001 (perm, OK) ** IP

R3 2003 (perm, OK) ** IP

R5 2005 (perm, OK) ** IP

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.

New Member

Re: Catalyst console port hung

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.

New Member

Re: Catalyst console port hung

Did you try this?

clear line console 0

New Member

Re: Catalyst console port hung

Maybe try connecting to the console again and use 6 x to returned to the prompt. Then do:

show sessions

to get session number and use:

disconnect (may require 'ssh' option?)

to disconnect session(s).