clear authentication sessions

Clears 801.1X and MAC authentication sessions on an interface or a range of interfaces.
Syntax
clear authentication sessions [ ethernet { unit / slot / port [ to unit / slot / port ] } | unit unit_number | mac_address ]
Parameters
ethernet { unit / slot / port [ to unit / slot / port ] }
Specifies the interface or range of interfaces on which authentication sessions are cleared.
unit unit_number
Specifies the stack unit on which authentication sessions are cleared.
mac_address
Specifies the MAC address (in HHHH.HHHH.HHH form) for which authentication sessions are cleared.
Modes

Privileged EXEC mode or any configuration mode

Usage Guidelines

The clear authentication sessions command with no parameters clears sessions for a stack or standalone unit.

Examples

The following example clears authentication sessions for port 1//1/1.

device# clear authentication sessions ethernet 1/1/1

The following example clears authentication sessions on a range of ports on unit 1.

device# clear authentication sessions ethernet 1/1/1 to 1/1/10

The following example clears authentication sessions on stack unit 3.

device# clear authentication sessions unit 3

The following example clears authentication sessions for an entire stack or for a standalone unit.

device# clear authentication sessions

The following example clears authentication sessions for the MAC address specified.

clear authentication sessions 0000.0034.abd4
History
Release version Command history
08.0.80 This command was introduced.