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