1.1 Load balance
配置静态或动态LACP,使多个接口起到Load balance的作用,本例中实现从PC-101发包,经过208与207的中间链路(配置链路聚合,每个聚合口最多支持8个聚合成员),最终报文到达PC-91,且查看中间链路各接口收发包计数。
1.1.1 拓扑
1.1.2 静态LACP配置
把208和207号机分别配置好接口,ge1为access模式,直连主机;ge47和ge48为静态聚合口,trunk模式;同在vlan2中。
xNet#configure terminal
xNet(config)#interface ge1
xNet(config-if)#switchport
xNet(config-if)#switchport mode access
xNet(config-if)#switchport access vlan 2
xNet(config-if)#exit
xNet(config)#interface ge47
xNet(config-if)#switchport
xNet(config-if)#switchport mode trunk
xNet(config-if)#switchport trunk allowed vlan add 2
xNet(config-if)#static-channel-group 5
xNet(config-if)#exit
xNet(config)#interface ge48
xNet(config-if)#switchport
xNet(config-if)#switchpor