二层聚合配置 1、聚合方式: (1)lacp 静态链路聚合 动态链路聚合(开启lacp模式,常用) (2)手工负载分担 2、配置步骤 静态端口聚合(两台交换机都按照下面命令配置)
静态端口聚合(两台交换机都按照下面命令配置)
//创建静态链路聚合口1,不启用lacp [SWB]interface Bridge-Aggregation 1 [SWB-Bridge-Aggregation1]port link-type trunk[SWB-Bridge-Aggregation1]port trunk permit vlan all[SWB-Bridge-Aggregation1]link-aggregation mode static //聚合口设置成静态(默认就是静态,此处这条命令可以不写) //把 1 2口加入 聚合口1[SWB]interface Ethernet 1/0/1[SWB-Ethernet1/0/1]port link-aggregation group 1[SWB-Ethernet1/0/1]quit[SWB]interface Ethernet 1/0/2[SWB-Ethernet1/0/2]port link-aggregation group 1
查看链路聚合的状态,1口和2口都是工作状态
动态端口聚合 (两台交换机都按照下面命令配置,
//创建动态链路聚合口1,启用lacp [SWB]interface Bridge-Aggregation 1 [SWB-Bridge-Aggregation1]port link-type trunk[SWB-Bridge-Aggregation1]port trunk permit vlan all[SWB-Bridge-Aggregation1]link-aggregation mode dynamic //聚合口设置成动态,即lacp,常用这种 //把 1 2口加入 聚合口1[SWB]interface Ethernet 1/0/1[SWB-Ethernet1/0/1]port link-aggregation group 1[SWB-Ethernet1/0/1]quit[SWB]interface Ethernet 1/0/2[SWB-Ethernet1/0/2]port link-aggregation group 1
查看动态链路聚合状态,状态为动态
负载分担
//创建动态链路聚合口1 [SWB]interface Bridge-Aggregation 1 [SWB-Bridge-Aggregation1]port link-type trunk[SWB-Bridge-Aggregation1]port trunk permit vlan all //把 1 2口加入 聚合口1[SWB]interface Ethernet 1/0/1[SWB-Ethernet1/0/1]port link-aggregation group 1[SWB-Ethernet1/0/1]quit[SWB]interface Ethernet 1/0/2[SWB-Ethernet1/0/2]port link-aggregation group 1
[SWA]link-aggregation load-sharing mode destination-Mac 两端都配置
interface Route-Aggregation10 //创建三层聚合口 10 ip address 192.168.100.2 255.255.255.0 //配置ip地址 interface rang gig1/0/1 gig1/0/2 port link-mode route //把端口 1 2 改成三层口 port link-Aggregation group 10 //加入聚合口10
来源地址:https://blog.csdn.net/Richardlygo/article/details/126566054
--结束END--
本文标题: 华三交换机配置链路聚合
本文链接: https://lsjlt.com/news/388087.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0