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.
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.