446Session Management Commands

To clear Telnet client session 0, type the following command:

WSS# clear sessions telnet client 0

See Also show sessions on page 437

clear sessions network

Clears all network sessions for a specified username or set of usernames, MAC address or set of MAC addresses, virtual LAN (VLAN) or set of VLANs, or session ID.

Syntax clear sessions network {user user-wildcardmac-addr mac-addr-wildcardvlan vlan- wildcard session-id local-session-id}

user user-wildcard

Clears all network sessions for a single user or set of users.

Specify a username, use the double-asterisk wildcard character (**) to specify all usernames, or use the single-asterisk wildcard character

(*)to specify a set of usernames up to or following the first delimiter character—either an at sign (@) or a period (.). (For details, see “User Wildcards” on page 12.)

mac-addrmac-addr-Clears all network sessions for a MAC address. Specify a MAC

wildcardaddress in hexadecimal numbers separated by colons (:), or use the wildcard character (*) to specify a set of MAC addresses. (For details, see “MAC Address Wildcards” on page 13.)

vlan vlan-wildcard

Clears all network sessions on a single VLAN or a set of VLANs.

Specify a VLAN name, use the double-asterisk wildcard character

(**)to specify all VLAN names, or use the single-asterisk wildcard character (*) to specify a set of VLAN names up to or following the first delimiter character, either an at sign (@) or a period (.). (For details, see “VLAN Wildcards” on page 13.)

session-idlocal-session-idClears the specified 802.1X network session. To find local session

IDs, use the show sessions command.

Defaults None.

Access Enabled.

Usage The clear sessions network command clears network sessions by deauthenticating and, for wireless clients, disassociating them.

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

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

To clear session 9, type the following command:

23x0# 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)

NN47250-100 (Version 02.51)

Page 446
Image 446
Nortel Networks 2300 Series manual Clear sessions network, See Also show sessions on, WSS# clear sessions telnet client