H3C交换机配置链路聚合二层三层

▼魔方 西西 提交于 2019-12-17 00:22:44

二层聚合:

一、静态聚合

[SW]int Bridge-Aggregation 1

[SW-Ethernet1/0/1]port link-aggregation group 1

[SW-Ethernet1/0/2]port link-aggregation group 1

[SW-Bridge-Aggregation1]port link-type trunk

[SW-Bridge-Aggregation1]port trunk permit vlan all 必须先加入端口再起Trunk,要不然会出错

二、动态聚合

[SW]int Bridge-Aggaregation 1

[SW-Bridge-Aggregation1]link-aggregation mode dynamic

[SW-Ethernet1/0/1]port link-aggregation group 1

[SW-Ethernet1/0/2]port link-aggregation group 1

[SW-Bridge-Aggregation1]port link-type trunk

[SW-Bridge-Aggregation1]port trunk permit vlan all

查看命令:

display link-aggregation summary

[S1]display link-aggregation verbose

负载分担:

[S1]link-aggregation load-sharing mode destination-mac 两端都配置(貌似接口也可以配置)

三层聚合:

[R2]int Route-Aggregation 1

[R2-Route-Aggregation1]ip add 12.1.1.2 24

[R2]int g0/0

[R2-GigabitEthernet0/0]port link-aggregation group 1

[R2-GigabitEthernet0/0]int g0/1

[R2-GigabitEthernet0/1]port link-aggregation group 1

负载分担:

[R1]link-aggregation global load-sharing mode source-ip destination-ip基于源IP,目的IP

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!