Clears sessions for all users with administrative access to the switch through a console plugged into the switch.
Clears sessions for all users with administrative access to the switch through a Telnet connection.
Clears all Telnet client sessions from the CLI to remote devices, or clears an individual session identified by session ID.
Clears sessions for all users with administrative access to the switch through a Telnet or SSH connection or a console plugged into the switch.

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

console

telnet

telnetclient [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? (yn) [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? (yn) [n]y

D-Link DWS-1008 CLI Manual

256

Page 259
Image 259
D-Link dws-1008 manual Clear sessions, Administrative Sessions, Network Sessions, DWS-1008#clear sessions admin