cisco
配置port-channel
Sw1(config)#interface port-channel 1
Sw1(config-if)#switchport trunk encapsulation dot1q
Sw1(config-if)#switchport mode trunk
Sw1(config-if)#switchport trunk allow vlan all
或者:
interface Port-channel10
sw mo access
sw access vlan 2
Sw1(config)#interface range f0/2-3
Sw1(config-if-range)#channel-protocol lacp
Sw1(config-if-range)#channel-group 1 mode on
Sw2(config)#interface range f0/2-3
Sw2(config-if-range)#channel-protocol lacp
Sw2(config-if-range)#channel-group 1 mode on
验证:
查看聚合接口状态
Sw1(config)#show etherchannel summary
Sw1(config)#show interface etherchannel