ETHERCHANNEL的配置
上为实验拓朴:
在SW1上的配置如下:
Sw1(config)#int channel-group 1 创建以太通道
Sw(config)#int range f0/1-2 将接口加入到以太通道中
Sw1(config-if)#channel-group 1 mode on
Sw1(config-if)#switchport mode trunk 将链路封装成trunk主干道,主要方便允许所有的VLAN信息通过。
Sw1(config-if)#duplex full 全双工模式
Sw1(config-if)#speed 100 速率为100
Sw1(config)#port-channel load-banlance src-mac 配置以太通道的负载均衡。
在SW2上的配置如下:
Sw2(config)#int channel-group 1
Sw2(config)#int range f0/1-2
Sw2(config-if)#channel-group 1 mode on
Sw2(config-if)#switchport mode trunk
Sw2(config-if)#duplex full
Sw2(config-if)#speed 100
Sw2(config)#port-channel load-banlance src-mac
转载于:https://blog.51cto.com/hl520/795057