Catalyst console port hung

Unanswered Question
Oct 23rd, 2008
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
MUHAMMAD SHAHEEN Thu, 10/23/2008 - 07:42
User Badges:
  • Silver, 250 points or more


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

Hope this helps


rschwendeman Thu, 10/23/2008 - 07:53
User Badges:

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.

j.bourque Thu, 10/23/2008 - 11:17
User Badges:

What is the config under "line con 0"?

If you find a working solution please post.

Richard Burts Thu, 10/23/2008 - 11:33
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN


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.



pkaretnikov Mon, 10/27/2008 - 17:56
User Badges:

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.

peterbe Tue, 10/28/2008 - 19:32
User Badges:

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).


This Discussion