要求1:SW1---SW2之间做手工聚合链路捆绑 eth-trunk号为12
要求2:SW2---SW3之间做LACP聚合链路捆绑 eth-trunk号为13 并且SW2成为LACP的主并开启抢占功能,eth trunk 13 最大活动链路数为2
要求3:PC1和PC2属于vlan 10 自行配trunk access口 使得PC1和PC2成功互访
①SW1---SW2之间做手工链路聚合
进入SW1 系统视图下
interfaceEth-Trunk12
Trunkport e0/0/2
Trunkport e0/0/3
Trunkport e0/0/4
进入SW2 系统视图下
interfaceEth-Trunk12
Trunkport e0/0/1
Trunkport e0/0/3
Trunkport e0/0/4
检查命令在SW1 SW2上dis eth 12
②SW2---SW3之间做LACP聚合链路捆绑 eth-trunk号为13 并且SW2成为LACP的主并开启抢占功能,ethtrunk 13 最大活动链路数为2
进入SW2 系统视图下
interface Eth-Trunk13
Mode lacp-static(LACP聚合链路)
Trunkporte0/0/2
Trunkporte0/0/5
Trunkporte0/0/6
max active-linknumber 2(最大活动链路数为2)
lacp preempt enable (开启抢占功能)
退回系统视图下
lacp priority 1(SW2成为LACP的主 默认32768 越小越优先)
进入SW3 系统视图下
interface Eth-Trunk13
Mode lacp-static(LACP聚合链路)
Trunkporte0/0/1
Trunkporte0/0/3
Trunkporte0/0/4
max active-linknumber 2(最大活动链路数为2)
lacp preempt enable (开启抢占功能)
检查:在SW2 SW3上dis eth 13
要求3:PC1和PC2属于vlan10 自行配trunk access口 使得PC1和PC2成功互访
进入SW1
在系统视图下
vlan 10(要先创建vlan 10哦)
interface Ethernet0/0/1
port link-type access
port default vlan 10
interface Eth-Trunk12
port link-type trunk
port trunk allow-pass vlan 10
进入SW2
在系统视图下
vlan 10
interface Eth-Trunk12
port link-type trunk
port trunk allow-pass vlan 10
interface Eth-Trunk13
port link-type trunk
port trunk allow-pass vlan 10
进入SW3
在系统视图下
vlan 10
interface Ethernet0/0/2
port link-type access
port default vlan 10
interface Eth-Trunk13
port link-type trunk
port trunk allow-pass vlan 10
检查 在PC1 ping PC2