链路聚合

实验步骤:
1 Switch> 2 Switch#config t 3 Switch(config)#interface range fa0/2-3 4 Switch(config-if-range)#switchport mode trunk //设置端口模式为trunk 5 Switch(config-if-range)#channel-group 1 mode on //将上述binding的端口加入到group1中并设置状态为on 6 Switch(config-if-range)#exit 7 Switch(config)#port-channel load-balance dst-ip //按照目标主机IP地址数据分发来实现负载平衡 8 Switch(config)#exit 9 Switch#show etherchannel summary //显示汇聚端口信息
注意:
1.端口号小的端口为主端口,汇聚端口的类型与主端口相同
2.所有链路聚合的端口类型必须为全双工,且工作速率相同,聚合功能在链路两端同时配置才能生效。
原文:https://www.cnblogs.com/Keygun/p/12145307.html