To clear Extensible Authentication Protocol (EAP) information on a switch or for a specified port, use the clear eap command in privileged EXEC mode.
clear
eap
[ sessions
[ credentials
credentials-name | interface
interface-name | method
method-name | transport
transport-name ] ]
Syntax Description
sessions
|
(Optional) Clears EAP sessions on a switch or a specified port.
|
credentials
credentials-name
|
(Optional) Clears EAP credential information for only the specified profile.
|
interface
interface-name
|
(Optional) Clears EAP credential information for only the specified interface.
|
method
method-name
|
(Optional) Clears EAP credential information for only the specified method.
|
transport
transport-name
|
(Optional) Clears EAP credential information for only the specified lower layer.
|
Command Default
All active EAP sessions are cleared.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.2(25)SEE
|
This command was introduced.
|
12.4(6)T
|
This command was integrated into Cisco IOS Release 12.4(6)T.
|
Usage Guidelines
You can clear all counters by using the clear eap command with the sessions keyword, or you can clear only the specified information by using the credentials, interface, method, or transport keywords.
Examples
The following example shows how to clear all EAP information:
Router# clear eap sessions
The following example shows how to clear EAP session information for the specified profile:
Router# clear eap sessions credentials type1
Related Commands
Command
|
Description
|
show
eap
registrations
|
Displays EAP registration information.
|
show
eap
sessions
|
Displays active EAP session information.
|