[an error occurred while processing this directive] [an error occurred while processing this directive]

clear dot1x

Syntax

clear dot1x
(interface (all | [interface-names]) | mac-address [mac-addresses])

Release Information

Command introduced in JUNOS Release 9.0 for EX-series switches.

Description

Reset the authentication state of a port. When you reset a port, reauthentication on the port is also triggered. The switch sends out a multicast message on the port to restart the authentication of all connected supplicants. If a MAC address is reset, then the switch sends out a unicast message to that specific MAC address to restart authentication.

If a supplicant is sending traffic when the clear dot1x interface command is issued, the authenticator immediately initiates reauthenticataion. This process happens very quickly, and it may seem that reauthentication did not occur. To verify that reauthentication has happened, issue the operational mode command show dot1x interface detail. The value for Reauthentication due and Reauthentication interval will be about the same.

Options

all — (Optional) Clears all ports, or specific ports or specific MAC addresses.

interface interface-names(Optional) Resets the authentication state of all supplicants connected to the specified ports (when the port is an authenticator) or for itself (when the port is a supplicant).

mac-address mac-addressesResets the authentication state only for the specified MAC addresses.

Required Privilege Level

view

List of Sample Output

clear dot1x interface
clear dot1x mac-address

Sample Output

clear dot1x interface

user@switch> clear dot1x interface ge-1/0/0 ge-2/0/0 ge-2/0/0 ge5/0/0]

clear dot1x mac-address

user@switch> clear dot1x mac—address 00:04:ae:cd:23:5f
[an error occurred while processing this directive]