The lacp selected command configures a mode for selecting active interfaces of an Eth-Trunk in LACP mode.
The undo lacp selected command restores the default mode for selecting active interfaces of an Eth-Trunk in LACP mode.
By default, active interfaces are selected based on the LACP interface priority.
Parameter | Description | Value |
---|---|---|
priority | Indicates that active interfaces are selected based on the LACP interface priority. The interfaces with high priorities are preferentially selected as active interfaces. | - |
speed | Indicates that active interfaces are selected based on the interface rate. High-speed interfaces are preferentially selected as active interfaces. | - |
Usage Scenario
As defined in LACP, active interfaces are selected based on the LACP interface priority by default. If member interfaces of an Eth-Trunk in LACP mode work at different rates, low-speed interfaces may be selected as active interfaces. To enable the device to select high-speed interfaces as active interfaces, run the lacp selected command to set the mode of selecting active interfaces to speed.
To enable the device to select active interface based on the LACP interface priority, run the lacp selected priority command to set the mode of selecting active interfaces to priority.
Prerequisites
The Eth-Trunk has been configured to work in LACP mode using the mode lacp command in the Eth-Trunk interface view.
Precautions
Active interfaces are selected based on the LACP interface priority by default. Changing the mode for selecting active interfaces may cause service interruptions for a short time. You are advised not to change the mode for selecting active interfaces during service transmission.
You are advised not to bundle interfaces working at different rates into an Eth-Trunk in LACP mode because the priority preemption function may become ineffective.