Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).

Setting the Link Aggregation Mode to LACP

Context

In LACP
mode, you must manually create an Eth-Trunk and add interfaces to
the Eth-Trunk. However, LACP controls active interfaces through negotiation.

Eth-Trunks in dynamic LACP mode are used only when a Huawei
device connects to a server. For other scenarios, configuring Eth-Trunks
in static LACP mode is recommended to reduce the chances of potential
loops.

Procedure

Run system-view

The system view is displayed.

Run interface eth-trunktrunk-id

The Eth-Trunk interface view is displayed.

Configure a working mode of the Eth-Trunk.

Configure the static or dynamic LACP mode.

When the two directly connected devices support
LACP, static LACP is recommended.

Run modelacp-static

The Eth-Trunk is configured to work in static LACP mode.

Before configuring an Eth-Trunk, ensure that both devices
use the same working mode.

When a device is directly connected to a server,
the dynamic LACP mode is often used. You can also use the static LACP
mode.