-
二层聚合配置
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
查看动态链路聚合状态,状态为动态
负载分担文章来源:https://www.toymoban.com/news/detail-509287.html
//创建动态链路聚合口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 两端都配置文章来源地址https://www.toymoban.com/news/detail-509287.html
三层聚合命令
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
到了这里,关于华三交换机配置链路聚合的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!