Specifications
clear sessions network
Chapter 18
Session Management Commands
533
Syntax
clear sessions network {user user-glob | mac-addr mac-addr-glob |
vlan vlan-glob | session-id local-session-id}
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:
PROPMT# clear sessions network mac-addr 00:01:02:03:04:05
user user-glob 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 Globs” on page 9.)
mac-addr
mac-addr-glob
Clears all network sessions for a MAC address. Specify
a MAC address in hexadecimal numbers separated by
colons (:), or use the wildcard character (*) to specify a
set of MAC addresses. (For details, see “MAC Address
Globs” on page 10.)
vlan vlan-glob 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 Globs” on page 10.)
session-id
local-session-id
Clears the specified 802.1X network session. To find
local session IDs, use the show sessions command.