< Home

lacp preempt enable

Function

The lacp preempt enable command enables priority preemption.

The undo lacp preempt enable command disables priority preemption.

Format

lacp preempt enable

undo lacp preempt enable

Parameters

None

Views

Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

By default, priority preemption is disabled.

Enabling the LACP preemption function ensures that the interface with the highest LACP priority stays an active interface. For example, when an interface with the highest priority becomes inactive due to a failure, and then recovers, the interface can become an active interface if the LACP preemption function is enabled. Otherwise, the interface cannot become an active interface again.

Set the Eth-Trunk interface to work in static LACP mode before you configure this command.

Example

# Enable priority preemption on Eth-Trunk 1.

<sysname> system-view
[sysname] interface Eth-Trunk 1
[sysname-Eth-Trunk1] mode lacp-static
[sysname-Eth-Trunk1] lacp preempt enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >