H3C - 链路聚合配置

时间:2023-01-05 15:55:57

H3C - 链路聚合配置


Device A的配置

# 创建二层聚合接口 1。(根据具体情况选择下面两种方式之一)

• •  采用静态聚合模式:创建二层聚合接口 1

[DeviceA] interface bridge-aggregation 1

[DeviceA-Bridge-Aggregation1] quit

• •  采用动态聚合模式:创建二层聚合接口 1,并配置动态聚合模式

[DeviceA] interface bridge-aggregation 1

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

[DeviceA-Bridge-Aggregation1] quit


# 将端口 Ten-GigabitEthernet1/0/1~Ten-GigabitEthernet1/0/3 加入到聚合组 1 中。

[DeviceA] interface range ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/3

[DeviceA-if-range] port link-aggregation group 1

[DeviceA-if-range] quit


Device B的配置

Device B的配置与设备A配置完全相同。

通过 display link-aggregation verbose 命令来显示聚合组的相关信息



三层聚合

[DeviceA] interface route-aggregation 1

[DeviceA-Route-Aggregation1] ip address 192.168.1.1 24


三层聚合和二层聚合区别   三层是route-aggregation,二层是bridge-aggregation,并且三层可以配置ip地址。