Cisco: 3560 GB
Huawei: S5300
Cisco G0/25 --- Huawei g/0/1
Cisco g/27 --- Huawei g/0/2
There are two modes for configuring link aggregation for Huawei switches: manual and lacp-static. If no configuration is made, the default switch is manual. Therefore, you must manually change the mode to lacp-static, this is important; otherwise, LACP cannot be successfully negotiated with the Cisco switch.
Huawei Switches
# Interface Eth-Trunk1
Port link-type trunk
Port trunk allow-pass vlan 2 to 4094
Mode lacp-static // modify the link aggregation mode
Max active-linknumber 2 // set the maximum number of active links to 2
Bpdu enable // enable BPDU
# Lacp priority 100
# Interface GigabitEthernet0/0/1
Eth-trunk 1
Undo ntdp enable
Undo ndp enable
Before configuring a port, you must clear all the original port configurations and undo them. Otherwise, the eth-trunk command cannot be applied. If the trunk port has been configured on the port, you can use the undo port link-type to clear the trunk status)
# Interface GigabitEthernet0/0/2
Eth-trunk 1
Undo ntdp enable
Undo ndp enable
Cisco switches
Interface port-channel1
Switchport trunk encapsulation dot1q
Switchport mode trunk
Interface g0/25
Switchport trunk encapsulation dot1q
Switchport mode trunk
Channel-group 1 mode active
Interface g0/27
Switchport trunk encapsulation dot1q
Switchport mode trunk
Channel-group 1 mode active
This article is from the "I am still alive" blog. For more information, contact the author!