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

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

For an introduction to the new site, click here. And see here for current known issues.

New Member

Disconnecting a user from router

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
Hall of Fame Super Silver

Re: Disconnecting a user from router

Mike

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

HTH

Rick

Purple

Re: Disconnecting a user from router

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

4 REPLIES
Hall of Fame Super Silver

Re: Disconnecting a user from router

Mike

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

HTH

Rick

New Member

Re: Disconnecting a user from router

Thanks, that did it...

Purple

Re: Disconnecting a user from router

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

New Member

clear line vty xxx

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

7509
Views
0
Helpful
4
Replies