***Configuration of LACP with Huawei switch***
As defined in LACP, active interfaces are selected according to the interface priorities by default. If member interfaces of a static LACP Eth-Trunk work at different rates, interfaces with smaller rate may be selected as active interfaces. To select high-speed interfaces as active interfaces, you can run the lacp selected command to set the mode of selecting active interfaces to speed.
If you intend to select active interface according to the interface priority, you can run the lacp selected priority command.
By default, Eth-Trunk active member interfaces are selected according to the interface priority. Changing the mode for selecting active interfaces causes short-term service interruption. Thus, you are not recommended to change the mode for selecting active interfaces during service transmission.
Before running the lacp selected command, ensure that the mode lacp-static command has been run in the Eth-Trunk interface view to configure the Eth-Trunk interface to work in static LACP mode.
# Configure Eth-trunk 1 to work in static mode and active interfaces to be selected according to the interface speed.
[Quidway] interface eth-trunk 1
[Quidway-Eth-Trunk1] mode lacp-static
[Quidway-Eth-Trunk1] lacp selected speed ***END***