Comparison Between Implementations of Link Aggregation on Huawei and Cisco Switches
Overview
The implementation mechanism of link aggregation in manual load balancing mode and LACP mode on Huawei switches is similar to that on Cisco switches, but commands and default settings are different.
Comparison Between Default Settings
Table 6-14 compares default settings of link aggregation on Huawei switches and Cisco switches.
Parameter | Huawei Switches | Cisco Switch |
---|---|---|
LACP system priority | 32768 | 32768 |
LACP interface priority | 32768 | 32768 |
Load balancing mode | Src-dst-ip | - NOTE: The default load balancing modes on Cisco switches are different depending on models. For details, see Cisco product documentation. |
Timeout interval of LACPDUs | 90s | 90s |
Command Comparison
Table 6-15 compares link aggregation commands on Huawei switches and Cisco switches.
Function | Command on Huawei Switches | Command on Cisco Switches |
---|---|---|
Create an Eth-Trunk. | interface Eth-Trunk trunk-id | interface port-channel group_number |
Configure a link aggregation mode. | mode { lacp | manual load-balance } | channel-group group_number mode { active | auto|desirable | on | passive } NOTE: Cisco switches provide five link aggregation modes. The active and passive modes of link aggregation on Cisco switches correspond to those on Huawei switches. The on mode on Cisco switches corresponds to the manual load balancing mode on Huawei switches. The auto and desirable modes of link aggregation are based on the Port Aggregation Protocol (PAgP), which is a Cisco proprietary protocol. Huawei switches do not provide the corresponding link aggregation mode. |
Add member interfaces to an Eth-Trunk. | eth-trunk trunk-id [ mode { active | passive } ] | channel-group group_number mode { active | auto|desirable | on } |
Configure the LACP system priority. | lacp priority priority (system view) | lacp system-priority priority_value (system view) |
Configure the LACP interface priority. | lacp priority priority (interface view) | lacp system-priority priority_value (interface view) |
Configure a load balancing mode. | load-balance { dst-ip | dst-mac | src-ip | src-mac | src-dst-ip | src-dst-mac } | port-channel load-balance { src-mac | dst-mac | src-dst-mac | src-ip | dst-ip | src-dst-ip | src-port | dst-port | src-dst-port } [ module slot] |
Configure the threshold for the number of active interfaces. | max active-linknumber link-number | lacp max-bundle number |
Check the link aggregation configuration. | display eth-trunk [ trunk-id [ interface interface-type interface-number | verbose ] ] | show interfaces interface-type interface-numberetherchannel show etherchannel load-balance |