cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
921
Views
0
Helpful
9
Replies

Catalyst console port hung

rschwendeman
Level 1
Level 1

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

172.20.205.35 22:02:07

172.20.201.34 22:01:29

172.20.1.2 21:45:05

172.20.205.31 21:25:53

172.20.205.31 20:41:39

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

9 Replies 9

Hi,

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

Hope this helps

Shaheen

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.

What is the config under "line con 0"?

If you find a working solution please post.

Robert

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.

HTH

Rick

HTH

Rick

nope the list still exists after clear line 0

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

Host Port Flags Age Type Address(es)

R2 2002 (perm, OK) 2 IP 1.1.1.1

R4 2004 (perm, OK) ** IP 1.1.1.1

R6 2006 (perm, OK) ** IP 1.1.1.1

BB1-2 2007 (perm, OK) 2 IP 1.1.1.1

Frame 2008 (perm, OK) ** IP 1.1.1.1

cat3550 2009 (perm, OK) ** IP 1.1.1.1

cat3560a 2010 (perm, OK) 78 IP 1.1.1.1

cat3560b 2011 (perm, OK) 49 IP 1.1.1.1

R1 2001 (perm, OK) ** IP 1.1.1.1

R3 2003 (perm, OK) ** IP 1.1.1.1

R5 2005 (perm, OK) ** IP 1.1.1.1

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.

Did you try this?

clear line console 0

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco