cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
26472
Views
0
Helpful
4
Replies

Disconnecting a user from router

MICHAEL CICCONE
Level 1
Level 1

When I run show users I have 3 users listed. How do I disconnect them. I tried disconnect but that doesn't seem to work. For example, I have a Cisco 3640 running version 12.2(21a). I run the command "show users" Output is:

Line User Host(s) Idle Location

110 tty 110 mike idle 00:59:25 machineb

130 vty 0 mike machineq 01:01:40 172.x.x.x

*131 vty 1 mike idle 00:00:00 172.x.x.x

I tried then running disconnect. but it doesn't work. what is the command to kill those user connections.

Thanks

Mike

2 Accepted Solutions

Accepted Solutions

Richard Burts
Hall of Fame
Hall of Fame

Mike

disconnect is for your own sessions. To kill sessions for other users try the clear line command.

HTH

Rick

HTH

Rick

View solution in original post

glen.grant
VIP Alumni
VIP Alumni

Just do a clear of the TTY or VTY line that is in the display , this should knock off the session. "clear line vty xxx" .

View solution in original post

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

Mike

disconnect is for your own sessions. To kill sessions for other users try the clear line command.

HTH

Rick

HTH

Rick

Thanks, that did it...

glen.grant
VIP Alumni
VIP Alumni

Just do a clear of the TTY or VTY line that is in the display , this should knock off the session. "clear line vty xxx" .

walter baziuk
Level 5
Level 5

clear line vty xxx

or

clear line cons 0

tf you came in via a terminal server, it will close that port also, thus you may have to log into the term server and then the ios device

Review Cisco Networking for a $25 gift card