system-view //进入配置模式
动态链路聚合:
[SW]dis cu //查看所有配置端口信息
[SW]int Bridge-Aggregation 1 //创建链路聚合组端口1
[SW-Bridge-Aggregation1]link-aggregation mode dynamic //链路聚合模式动态(分为动态,静态,手工负载)
[SW-Bridge-Aggregation1]interface gigabitethernet 1/0/1 //进入网口
[SW-Ethernet1/0/1]port link-aggregation group 1 //加入链路聚合组
[SW-Ethernet1/0/1]quit //退出
[SW]interface Ethernet(gigabitethernet) 1/0/2
[SW-Ethernet1/0/2]port link-aggregation group 1 //加入链路聚合组
[SW-Ethernet1/0/1]quit
[SW-Bridge-Aggregation1]port link-type trunk //改为trunk模式
[SW-Bridge-Aggregation1]port trunk permit vlan all //所有的vlan适用
删除链路聚合:
undo link-aggregation group 1
查看命令:
display link-aggregation summary
[S1]display link-aggregation verbose
负载分担:
[S1]link-aggregation load-sharing mode destination-mac 两端都配置
————————————————
版权声明:本文为CSDN博主「csgd2000」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/csgd2000/article/details/108990553
本文链接:https://www.kinber.cn/post/2208.html 转载需授权!
推荐本站淘宝优惠价购买喜欢的宝贝: