mode
Function
The mode command configures the working mode of an Eth-Trunk.
The undo mode command restores the default working mode of an Eth-Trunk.
By default, an Eth-Trunk works in manual load balancing mode.
Parameters
Parameter | Description | Value |
---|---|---|
lacp-static | Indicates the LACP mode. | - |
manual load-balance | Indicates the manual load balancing mode. | - |
Usage Guidelines
Usage Scenarios
LACP mode
When the devices that are directly connected through an Eth-Trunk link support LACP, you can run the mode lacp-static command to configure the Eth-Trunk interface to work in LACP mode. In this manner, both load balancing and redundancy backup can be implemented.
In LACP mode, you must manually create an Eth-Trunk interface and add member interfaces to the Eth-Trunk interface. Different from link aggregation in manual load balancing mode, active member interfaces are selected by sending LACP data units (LACPDUs) in LACP mode. That is, when a group of interfaces are added to an Eth-Trunk interface, devices at the two ends determine active interfaces and inactive interfaces by sending LACPDUs to each other.
Manual load balancing mode
When one of the devices at the two ends of an Eth-Trunk link does not support LACP, you can run the mode manual load-balance command to configure the Eth-Trunk interface to work in manual load balancing mode. In addition, you can add multiple member interfaces to increase the bandwidth between the two devices and improve reliability.
The manual load balancing mode is a basic link aggregation mode. In this mode, you must manually create an Eth-Trunk interface, add interfaces to the Eth-Trunk interface. LACP is not involved.
In manual load balancing mode, all active member interfaces forward data and perform load balancing.
Precautions
If you run the mode command multiple times, only the latest configuration takes effect.