H3C网管交换机二层链路聚合边缘接口配置举例

一、组网需求
•Device 与服务器 Server 通过端口 GigabitEthernet1/0/1、GigabitEthernet1/0/2 相互连接。
• 在 Device 上配置一个二层动态链路聚合组。
• 在 Device 上配置二层聚合接口为聚合边缘接口,以便当服务器上未配置动态聚合组时,Device上聚合组成员端口都能作为普通端口正常转发报文。

二、 组网图
二层聚合边缘接口配置组网图

三、配置步骤
配置 Device
# 创建二层聚合接口 1,配置该接口为动态聚合模式。
<Device> system-view
[Device] interface bridge-aggregation 1
[Device-Bridge-Aggregation1] link-aggregation mode dynamic

# 配置二层聚合接口 1 为聚合边缘接口。
[Device-Bridge-Aggregation1] lacp edge-port
[Device-Bridge-Aggregation1] quit

# 分别将端口 GigabitEthernet1/0/1、GigabitEthernet1/0/2 加入到聚合组 1 中。
[Device] interface gigabitethernet 1/0/1
[Device-GigabitEthernet1/0/1] port link-aggregation group 1
[Device-GigabitEthernet1/0/1] quit
[Device] interface gigabitethernet 1/0/2
[Device-GigabitEthernet1/0/2] port link-aggregation group 1
[Device-GigabitEthernet1/0/2] quit

四、验证配置
# 当 Server 未完成动态聚合模式配置时,查看 Device 上所有聚合组的详细信
[DeviceA] display link-aggregation verbose
验证配置
以上信息表明,当Device未收到Server的LACP报文时,Device的聚合成员端口都工作在Individual状态,该状态下所有聚合成员端口可以作为普通物理口转发报文,以保证此时 Server 与 Device 间的链路都可以正常转发报文,且相互形成备份。

ICP备案号:晋ICP备18007549号-1
站长微信:15534641008