< Home

lacp preempt enable

Function

The lacp preempt enable command enables priority preemption for an Eth-Trunk in LACP mode.

The undo lacp preempt enable command disables priority preemption for an Eth-Trunk in LACP mode.

By default, priority preemption is disabled.

Format

lacp preempt enable

undo lacp preempt enable

Parameters

None

Views

Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

In LACP mode, when one of the active links fails, the system selects the link with the highest priority from backup links to replace the faulty one. When the faulty link recovers, the priority of this link is higher than the priority of the link that replaces itself, and priority preemption is enabled, the link becomes active again.

If priority preemption is disabled, the system does not re-select any active interface. The recovered link functions as the backup one.

When priority preemption is enabled, the system selects an active interface based on the LACP interface priority on the Actor.

Prerequisites

The LACP mode must have been configured using the mode lacp command in the Eth-Trunk interface view.

Precautions

To ensure that an Eth-Trunk works properly, enable or disable LACP preemption on both ends of the Eth-Trunk.

Example

# Enable priority preemption on Eth-Trunk 1.

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