D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 256
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.
Administrative Sessions show sessions on page 258
clear sessions on page 256
Network Sessions show sessions network on page 260
clear sessions network on page 257
clear sessions
Clears all administrative sessions, or clears administrative console or Telnet sessions.
Syntax: clear sessions {admin | console | telnet[client[session-id]]}
admin Clears sessions for all users with administrative access to the switch through
a Telnet or SSH connection or a console plugged into the switch.
console Clears sessions for all users with administrative access to the switch through
a console plugged into the switch.
telnet Clears sessions for all users with administrative access to the switch through
a Telnet connection.
telnetclient Clears all Telnet client sessions from the CLI to remote devices, or clears an
[session-id] individual session identified by session ID.
Defaults: None.
Access: Enabled.
Examples: To clear all administrator sessions type the following command:
DWS-1008# 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:
DWS-1008# clear sessions console
This will terminate manager sessions, do you wish to continue? (y|n) [n]y