< Home

lacp preempt delay

Function

The lacp preempt delay command sets the LACP preemption delay.

The undo lacp preempt delay command restores the default LACP preemption delay.

By default, the LACP preemption delay is 30 seconds.

Format

lacp preempt delay delay-time

undo lacp preempt delay

Parameters

Parameter

Description

Value

delay-time

Specifies the LACP preemption delay.

The value is an integer that ranges from 0 to 180 on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S, 10 to 180 on other models, in seconds.

Views

Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

To use this command, ensure that the following conditions are met:

  • The Eth-Trunk has been configured to work in LACP mode using the mode lacp command in the Eth-Trunk interface view.
  • Priority preemption has been enabled on the Eth-Trunk using the lacp preempt enable command in the Eth-Trunk interface view.
Link A replaces link B and becomes active after the preemption delay n the following situation:
  1. LACP priority preemption is enabled and the lacp preempt delay command is used.
  2. The faulty link (link A) with higher priority than that of the current active link (link B) recovers.
  3. The number of current active links reaches the upper threshold.

If both devices of an Eth-Trunk use different preemption delays, a longer preemption delay is used. If priority preemption is enabled but the preemption delay is not set, the interface with a higher priority preempts the interface with a lower priority according to the default preemption delay.

Example

# Set the LACP preemption delay of Eth-Trunk 1 to 20 seconds.

<HUAWEI> system-view
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] mode lacp
[HUAWEI-Eth-Trunk1] lacp preempt delay 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >