Displays sessions for all users with administrative access to the switch through a console plugged into the switch.
Displays sessions for all users with administrative access to the switch through a Telnet connection.
Displays Telnet sessions from the CLI to remote devices.
Displays sessions for all users with administrative access to the switch through a Telnet or SSH connection or a console plugged into the switch.

Examples: To clear all sessions for MAC address 00:01:02:03:04:05, type the following command:

DWS-1008#clear sessions network mac-addr 00:01:02:03:04:05

This will terminate manager sessions, do you wish to continue? (yn) [n]y

To clear session 9, type the following command:

DWS-1008#clear sessions network session-id 9

SM Apr 11 19:53:38 DEBUG SM-STATE: localid 9, mac 00:06:25:09:39:5d, flags 0000012fh, to change state to KILLING

Localid 9, globalid SESSION-9-893249336 moved from ACTIVE to KILLING (client=00:06:25:09:39:5d)

To clear the session of user Natasha, type the following command:

DWS-1008#clear sessions network user Natasha

To clear the sessions of users whose name begins with the characters Jo, type the following command:

DWS-1008#clear sessions network user Jo*

To clear the sessions of all users on VLAN red, type the following command:

DWS-1008#clear sessions network vlan red

See Also:

show sessions

show sessions network

show sessions

Displays session information and statistics for all users with administrative access to the switch, or for administrative users with either console or Telnet access.

Syntax: show sessions {admin console telnet [client]} admin

console

telnet

telnet client

D-Link DWS-1008 CLI Manual

258

Page 261
Image 261
D-Link dws-1008 manual Show sessions