【新华三】网络工程师 二层静态聚合配置
作者:最铁头的网工
来源:CSDN
文章属性:自创,如有抄袭必究
模拟器来自于新华三 HCL 实验室
点击了解更多技术资料和免费学习视频请加入讨论群:662736393
感谢关注铁头娃技术,联系QQ:3473067134
针对本知识点有问题,欢迎加Q一起讨论学习
配置过程:DOU音搜索>>>最铁头的网工
二层静态聚合配置举例
1.组网需求
SW1-SYS与SW2-SYS通过各自的二层以太网接口GigabitEthernet1/0/1到GigabitEthernet1/0/3相互连接。
在SW1-SYS和SW2-SYS上分别配置二层静态链路聚合组,并实现设备间VLAN 10和VLAN 20分别互通。
2.组网图
3.配置步骤
配置SW1-SYS
创建VLAN 10、20,并将端口GigabitEthernet1/0/4、GigabitEthernet1/0/5分别加入到VLAN 10、VLAN 20中。
[H3C]sysname SW1-TTW
[SW1-TTW]vlan 10
[SW1-TTW]vlan 20
[SW1-TTW]interface GigabitEthernet 1/0/4
[SW1-TTW-GigabitEthernet1/0/4]port link-type access
[SW1-TTW-GigabitEthernet1/0/4]port access vlan 10
[SW1-TTW]interface GigabitEthernet 1/0/5
[SW1-TTW-GigabitEthernet1/0/5]port link-type access
[SW1-TTW-GigabitEthernet1/0/5]port access vlan 20
创建二层聚合接口1
[SW1-TTW]interface Bridge-Aggregation 1
[SW1-TTW-Bridge-Aggregation1]quit
[SW1-TTW]interface range GigabitEthernet 1/0/1 to GigabitEthernet 1/0/3
配置二层聚合接口1为Trunk端口,并允许VLAN 10和20的报文通过。
[SW1-TTW] interface bridge-aggregation 1
[SW1-TTW-Bridge-Aggregation1] port link-type trunk
[SW1-TTW-Bridge-Aggregation1] port trunk permit vlan 10 20
[SW1-TTW-Bridge-Aggregation1] quit
配置SW2-TTW
配置SW2-TTW与配置SW1-TTW一致
验证配置
查看SW1-TTW上所有聚合组的详细信息。
[SW1-TTW-Bridge-Aggregation1]display link-aggregation verbose
Loadsharing Type: Shar – Loadsharing, NonS – Non-Loadsharing
Port: A – Auto
Port Status: S – Selected, U – Unselected, I – Individual
Flags: A – LACP_Activity, B – LACP_Timeout, C – Aggregation,
D – Synchronization, E – Collecting, F – Distributing,
G – Defaulted, H – Expired
Aggregate Interface: Bridge-Aggregation1 Aggregation Mode: Static Loadsharing Type: Shar
Port Status Priority Oper-Key
'--------------------------------------------------------------------------------
GE1/0/1 S 32768 1
GE1/0/2 S 32768 1
GE1/0/3 S 32768 1