# 创建二层聚合接口1。(根据具体情况选择下面两种方式之一)
l 采用静态聚合模式:创建二层聚合接口1
[H3C]interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] quit
l 采用动态聚合模式:创建二层聚合接口,并配置动态聚合模式
[H3C]interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] link-aggregation mode dynamic
[H3C-Bridge-Aggregation1] quit
# 分别将端口GigabitEthernet1/0/1至GigabitEthernet1/0/2加入到聚合组1中。
[H3C]interface gigabitethernet 1/0/1
[H3C-GigabitEthernet1/0/1] port link-aggregation group 1
[H3C-GigabitEthernet1/0/1] quit
[H3C]interface gigabitethernet 1/0/2
[H3C-GigabitEthernet1/0/2] port link-aggregation group 1
[H3C-GigabitEthernet1/0/2] quit
# 配置二层聚合接口1为Trunk端口,并允许VLAN 10和VLAN 20的报文通过。
[H3C]interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] port link-type trunk
[H3C-Bridge-Aggregation1] port trunk permit vlan 10 20
Please wait... Done.
Configuring GigabitEthernet 1/0/1... Done.
Configuring GigabitEthernet 1/0/2... Done.
Configuring GigabitEthernet 1/0/3... Done.
[H3C-Bridge-Aggregation1] quit
# 保存配置信息
[H3C]save force
暂无评论