dot1x attempts max-fail

Syntax

dot1x attempts max-fail unsuccessful-attempts

undo dot1x attempts max-fail

View

Layer 2 Ethernet interface view

Default level

2: System level

Parameters

unsuccessful-attempts: Sets the maximum number of 802.1X authentication attempts that a MAC-authenticated user can try. The value range for this argument is 1 to 50.

Description

Use dot1x attempts max-fail to set the maximum number of 802.1X authentication attempts that a MAC-authenticated user can try.

Use undo dot1x attempts max-fail to restore the default.

By default, the device allows a user that have passed MAC authentication to perform 802.1X authentication. The maximum number of 802.1X authentication attempts that the user can try is determined by the configuration on the authentication client.

Examples

# On interface Ethernet 1/0/1, set the maximum number of 802.1X authentication attempts that a MAC-authenticated user can try to 3.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] dot1x attempts max-fail 3