配置2层EtherChannel
sw1(config)#int range fas 0/21 , fas0/22
sw1()#channel-protocol pagp/lacp
sw1(config-if)#channel-group 1 mode on/deseriable/auto
sw2(config)#int range fas 0/21 , fas 0/22
sw2(config-if)#channel-protocol pagp/lacp
sw2(config-if)#channel-group 1 mode on/deseriable/auto
查看:show etherchannel detail
show etherchannel summary
show etherchannel port-channel
配置3层EtherChannel
sw1(config)#int range fas 0/21 ,fas0/22
sw1(config-if)#no switchprot
sw1(config-if)#channel-group 1 mode deseriable
sw1(config)#interface port-channel 1
sw1(config-if)#ip address 192.168.1.1 255.255.255.0
sw1(config-if)#end
sw2(config)#int range fas 0/21 ,fas0/22
sw2(config-if)#no switchprot
sw2(config-if)#channel-group 1 mode desirable
sw2(confif)#interface port-channel 1
sw2(config-if)ip address 192.168.1.2 255.255.255.0
sw2(config-if)end
阅读(1315) | 评论(0) | 转发(0) |