Setting the maximum number of 802.1X authentication attempts for MAC authentication users

If both MAC authentication and 802.1X authentication are enabled on a port, the device allows an authenticated MAC authentication user to initiate an 802.1X authentication. If the user passes 802.1X authentication, the user goes online as an 802.1X user. If the user fails 802.1X authentication, the user can retry authentication until the maximum number of authentication attempts is reached.

To set the maximum number of 802.1X authentication attempts for MAC authentication users:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2 Ethernet interface view.

interface interface-type interface-number

N/A

3. Set the maximum number of 802.1X authentication attempts for MAC authentication users.

dot1x attempts max-fail unsuccessful-attempts

By default, an authenticated MAC authentication user can retry 802.1X authentication until the maximum number of authentication attempts configured on the 802.1X client is reached.