龙空技术网

华三交换机如何配置端口聚合之二层端口聚合口

简单阳光年华 483

前言:

此时各位老铁们对“聚合端口应具备什么条件”都比较讲究,小伙伴们都想要知道一些“聚合端口应具备什么条件”的相关资讯。那么小编在网络上网罗了一些有关“聚合端口应具备什么条件””的相关文章,希望朋友们能喜欢,我们快快来了解一下吧!

华三交换机配置端口聚合之二层端口聚合

工作中常会遇到交换机配置端口聚合的场景,可以起到增加带宽和可靠性的要求。端口聚合可分为二层聚合和三层聚合,以及静态和动态聚合,下面主要介绍二层端口的静态和动态聚合配置。

拓扑如图,swa和swb各自的1,2,3,都加入到聚合口中。4,5口下联pc等终端。

一,二层端口静态聚合

配置SWA

配置SWA下联的vlan和接口,

分别把GE1/0/4和GE1/0/5加入vlan40和vlan50

[SWA]vlan 40

[SWA-vlan40]port GigabitEthernet 1/0/4

[SWA]vlan 50

[SWA-vlan50]port GigabitEthernet 1/0/5

创建二层聚合口1

[SWA]interface Bridge-Aggregation 1 //创建聚合组1

分别把GE1/0/1,GE1/0/2,GE1/0/3加入到聚合组1

[SWA]interface GigabitEthernet 1/0/1

[SWA-GigabitEthernet1/0/1]port link-aggregation 1

[SWA]interface GigabitEthernet 1/0/2

[SWA-GigabitEthernet1/0/2]port link-aggregation group 1

[SWA]interface GigabitEthernet 1/0/3

[SWA-GigabitEthernet1/0/3]port link-aggregation group 1

配置二层聚合接口1为Trunk端口,并允许VLAN 40和50的报文通过。

[SWA]interface Bridge-Aggregation 1

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

[SWA-Bridge-Aggregation1]port trunk permit vlan 40 50

配置SWB

创建vlan40和vlan50,并分别把GE1/0/4和GE1/0/5加入到vlan40,vlan50

[SWB]vlan 40

[SWB-vlan40]port GigabitEthernet 1/0/4

[SWB]vlan 50

[SWB-vlan50]port GigabitEthernet 1/0/5

创建二层聚合口1

[SWB]interface Bridge-Aggregation 1 //创建聚合组1

[SWB-Bridge-Aggregation1]qu

分别把GE1/0/1,GE1/0/1,GE1/0/1加入到聚合组1

[SWB]interface GigabitEthernet 1/0/1

[SWB-GigabitEthernet1/0/1]port link-aggregation group 1

[SWB]interface GigabitEthernet 1/0/2

[SWB-GigabitEthernet1/0/2]port link-aggregation group 1

[SWB]interface GigabitEthernet 1/0/3

[SWB-GigabitEthernet1/0/3]port link-aggregation group 1

配置二层聚合接口1为Trunk端口,并允许VLAN 40和50的报文通过。

[SWB]interface Bridge-Aggregation 1

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

[SWB-Bridge-Aggregation1]port trunk permit vlan 40 50

使用命令display link-aggregation verbose查看聚合组的详细信息。

==================================================================

二,二层端口动态聚合配置

拓扑和上面配置静态时一样

配置SWA

创建vlan40,vlan50分别把GE1/0/4和GE1/0/5加入vlan40和vlan50

[SWA]vlan 40

[SWA-vlan40]port GigabitEthernet 1/0/4

[SWA]vlan 50

[SWA-vlan50]port GigabitEthernet 1/0/5

-------------------------------------------------------

[SWA]interface Bridge-Aggregation 1 //创建聚合组1

[SWA-Bridge-Aggregation1]link-aggregation mode dynamic //聚合为动态模式

------------------------------------------------------

分别把GE1/0/1,GE1/0/1,GE1/0/1加入到聚合组1

[SWA]interface GigabitEthernet 1/0/1

[SWA-GigabitEthernet1/0/1]port link-aggregation 1

[SWA]interface GigabitEthernet 1/0/2

[SWA-GigabitEthernet1/0/2]port link-aggregation group 1

[SWA]interface GigabitEthernet 1/0/3

[SWA-GigabitEthernet1/0/3]port link-aggregation group 1

配置二层聚合接口1为Trunk端口,并允许VLAN 40和50的报文通过。

[SWA]interface Bridge-Aggregation 1

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

[SWA-Bridge-Aggregation1]port trunk permit vlan 40 50

-------------------------------------------------------------------

SWB

[SWB]vlan 40

[SWB-vlan40]port GigabitEthernet 1/0/4

[SWB]vlan 50

[SWB-vlan50]port GigabitEthernet 1/0/5

----------------------------------------------------------

[SWB]interface Bridge-Aggregation 1

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

----------------------------------------------------------

分别把GE1/0/1,GE1/0/1,GE1/0/1加入到聚合组1

[SWB]interface GigabitEthernet 1/0/1

[SWB-GigabitEthernet1/0/1]port link-aggregation group 1

[SWB]interface GigabitEthernet 1/0/2

[SWB-GigabitEthernet1/0/2]port link-aggregation group 1

[SWB]interface GigabitEthernet 1/0/3

[SWB-GigabitEthernet1/0/3]port link-aggregation group 1

配置二层聚合接口1为Trunk端口,并允许VLAN 40和50的报文通过。

[SWB]interface Bridge-Aggregation 1

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

[SWB-Bridge-Aggregation1]port trunk permit vlan 40 50

在SWA上使用display link-aggregation verbose查看聚合组的信息。

标签: #聚合端口应具备什么条件