[华为]链路聚合配置
华为交换机配置链路聚合,将2台交换机SW-1和SW-2的23口和24口作为静态聚合口,使带宽叠加。
SW-1的配置
[SW-1]interface Eth-Trunk 0
[SW-1-Eth-Trunk0]port link-type trunk
[SW-1-Eth-Trunk0]port trunk allow-pass vlan all
[SW-1-Eth-Trunk0]mode lacp-static
[SW-1-Eth-Trunk0]max active-linknumber 2
[SW-1-Eth-Trunk0]trunkport GigabitEthernet 0/0/23 to 0/0/24
SW-2的配置
[SW-2]interface Eth-Trunk 0
[SW-2-Eth-Trunk0]port link-type trunk
[SW-2-Eth-Trunk0]port trunk allow-pass vlan all
[SW-2-Eth-Trunk0]mode lacp-static
[SW-2-Eth-Trunk0]max active-linknumber 2
[SW-2-Eth-Trunk0]trunkport GigabitEthernet 0/0/23 to 0/0/24