Operation Manual

Session Management Commands 19 – 449
19
Session Management Commands
Use session management commands to display and clear administrative and network user
sessions. This chapter presents session management commands alphabetically. Use the following
table to locate commands in this chapter based on their use.
clear sessions
Clears all administrative sessions, or clears administrative console or Telnet sessions.
Syntax
clear sessions {admin | console | telnet client |
mesh-ap [session-id session-id]}
Defaults
None.
Access
Enabled.
History
Examples
To clear all administrator sessions type the following command:
MX# clear sessions admin
This will terminate manager sessions, do you wish to continue? (y|n) [n]y
To clear all administrative sessions through the console, type the following command:
MX# clear sessions console
This will terminate manager sessions, do you wish to continue? (y|n) [n]y
Administrative Sessions show sessions on page 19-451
clear sessions on page 19-449
Network Sessions show sessions network on page 19-454
clear sessions network on page 19-450
Mesh AP Sessions show sessions mesh-ap on page 19-453
admin Clears sessions for all users with administrative access to the MX through a Telnet
or SSH connection or a console plugged into the switch.
console Clears sessions for all users with administrative access to the MX through a console
plugged into the switch.
telnet Clears sessions for all users with administrative access to the MX through a Telnet
connection.
telnet client
[session-id]
Clears all Telnet client sessions from the CLI to remote devices, or clears an
individual session identified by session ID.
mesh-ap
[session-id]
Clears all Mesh AP sessions, or clears an individual Mesh AP session identified by
session ID.
Version 1.0 Command introduced.
Version 1.1 New option, client [session-id], added to clear Telnet client
sessions.
Version 6.0 New option, mesh-ap, added to clear Mesh AP sessions.