Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Log a User Out of the Device

 

Sometimes you may need to disconnect a user session if it does not terminate after a user logs out, or you may otherwise want to log a user out for some other reason.

To log a user out of all terminal sessions on a router, enter the following Junos OS CLI command:

user@host> show system users
user@host> request system logout user harry

user@host> show system users

The sample output for the first show system users command shows there were two users on the router, harry and lisa. The request system logout user command was issued to log out user harry. Because there is no output to indicate that harry was logged out, the show system users command was issued again to verify that user harry was actually logged out of the router, while the user lisa remains logged in.