325
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
Session Management Commands
Session Management Commands
Use session management commands to display and clear administrative and network user
sessions.
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.
telnet client
[session-id]
Clears all Telnet client sessions from the CLI to
remote devices, or clears an 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
To clear all administrative Telnet sessions, type the following command:
DWS-1008# clear sessions telnet
This will terminate manager sessions, do you wish to continue? (y|n) [n]y
Commentaires sur ces manuels