< Home

dot1x retry

Function

The dot1x retry command configures the number of times an authentication request or handshake packet is retransmitted to an 802.1X user.

The undo dot1x retry command restores the default configuration.

By default, the device can retransmit an authentication request or handshake packet to an 802.1X user twice.

Format

dot1x retry max-retry-value

undo dot1x retry

Parameters

Parameter

Description

Value

max-retry-value

Specifies the number of times an authentication request or handshake packet is retransmitted to an 802.1X user.

The value is an integer that ranges from 1 to 10.

By default, the device can retransmit an authentication request or handshake packet to an 802.1X user twice.

The default value is recommended.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If the device does not receive any response from a user within a specified time after sending an authentication request or handshake packet to the user, the device sends the authentication request or handshake packet again. If the authentication request or handshake packet has been sent for the maximum retransmission times and no response is received, the user authentication or handshake fails. In this process, the total number of authentication requests or handshake packets sent by the device is max-retry-value plus 1.

  • After you run the dot1x retry command, the setting takes effect on all interfaces enabled with 802.1X authentication.
  • Repeated authentication requests occupy a lot of system resources. When using the dot1x retry command, you can set the maximum number of times according to user requirements and device resources. The default value is recommended.
  • The interval for sending authentication requests is set using the dot1x timer command. The interval for sending authentication requests to offline users is controlled by the tx-period and client-timeout timer, and the interval for sending authentication requests to online users is controlled by the handshake-period timer.
  • The dot1x retry command is used together with the guest VLAN function (for details, see authentication guest-vlan). If a user does not respond within the specified maximum number of times, the user is added to the guest VLAN so that the user can access resources in the guest VLAN without being authenticated.

Example

# Set the number of times an authentication request or handshake packet can be retransmitted to 802.1X users to 4.

<HUAWEI> system-view
[HUAWEI] dot1x retry 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >