< Home

link-down offline delay

Function

The link-down offline delay command configures the user logout delay when an interface link is faulty.

The undo link-down offline delay command restores the default configuration.

By default, the user logout delay is 10 seconds when an interface link is faulty.

Format

link-down offline delay { delay-value | unlimited }

undo link-down offline delay

Parameters

Parameter

Description

Value

delay-value

Specifies the user logout delay when an interface link is faulty.

The value is an integer that ranges from 0 to 60, in seconds. If the value is 0, users are logged out immediately when an interface link is faulty.

unlimited

Indicates that users are not logged out when an interface link is faulty.

-

Views

Ethernet interface view, GE interface view, MultiGE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a link is faulty, the interface is interrupted and users are directly logged out. To solve this problem, you can configure the user logout delay function. When the interface link is faulty, the users remain online within the delay. In this case, if the link is restored, the users do not need to be re-authenticated. If the users are disconnected after the delay and the link is restored, the users need to be re-authenticated.

Precautions

  • This function takes effect only for wired users who go online on Layer 2 physical interfaces that have been configured with NAC authentication.

  • To make the function take effect, it is recommended that the configured interval be greater than the time during which the interface is in Up state. If the link frequently flaps within a short period, it is recommended that the interval be set to unlimited.

Example

# Configure the user logout delay to 5 seconds when the link of GE0/0/1 is faulty.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] link-down offline delay 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >