clear dot1x through clear eap

clear dot1x

To clear 802.1X interface information, use the clear dot1x command in privileged EXEC mode.

clear dot1x { all | interface interface-name }

Syntax Description

all

Clears 802.1X information for all interfaces.

interface interface-name

Clears 802.1X information for the specified interface.

Command Modes


Privileged EXEC

Command History

Release

Modification

12.3(2)XA

This command was introduced.

12.3(4)T

This command was integrated into Cisco IOS Release 12.3(4)T.

12.2(25)SEE

This command was integrated into Cisco IOS Release 12.2(25)SEE.

12.2(33)SRA

This command was integrated into Cisco IOS Release 12.2(33)SRA.

12.2SX

This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.

Examples

The following configuration shows that 802.1X information will be cleared for all interfaces:

Router# clear dot1x all

The following configuration shows that 802.1X information will be cleared for the Ethernet 0 interface:

Router# clear dot1x interface ethernet 0

You can verify that the information was deleted by entering the show dot1x command.

Related Commands

Command

Description

debug dot1x

Displays 802.1X debugging information.

identity profile default

Creates an identity profile and enters identity profile configuration mode.

show dot1x

Displays details for an identity profile.

clear eap

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.