华为交换机ETH-TRUNK链路聚合lacp模式与手工模式
SW1配置如下
vlan batch 10interface Eth-Trunk1port link-type trunkport trunk allow-pass vlan 10mode lacp-static #手工模式删除改行max active-linknumber 2 #手工模式删除改行trunkport GigabitEthernet 0/0/1 to 0/0/2#配置为主设备(修改优先级),默认为32768
lacp priority 30000 #手工模式删除该行interface GigabitEthernet0/0/3port link-type accessport default vlan 10
SW2 配置如下
vlan batch 10interface Eth-Trunk1port link-type trunkport trunk allow-pass vlan 10mode lacp-staticmax active-linknumber 2trunkport GigabitEthernet 0/0/1 to 0/0/2interface GigabitEthernet0/0/3port link-type accessport default vlan 10
PC1 配置
PC2配置
整体架构图