华为-配置手工/LACP模式链路聚合
1、配置手工模式链路聚合(默认模式)
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] trunkport gigabitethernet 1/0/1 to 1/0/3
[HUAWEI-Eth-Trunk1] port link-type trunk
[HUAWEI-Eth-Trunk1] port trunk allow-pass vlan 10 20
[HUAWEI-Eth-Trunk1] quit
2、配置LACP模式的链路聚合
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] mode lacp
[HUAWEI-Eth-Trunk1] trunkport gigabitethernet 1/0/1 to 1/0/3
[HUAWEI-Eth-Trunk1] port link-type trunk
[HUAWEI-Eth-Trunk1] port trunk allow-pass vlan 10 20
[HUAWEI-Eth-Trunk1] quit
华三-二层静态聚合配置举例
1、# 创建二层聚合接口1
[H3C] interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] quit
2、# 分别将端口GigabitEthernet1/0/1至GigabitEthernet1/0/3加入到聚合组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
[H3C] interface gigabitethernet 1/0/3
[H3C-GigabitEthernet1/0/3] port link-aggregation group 1
[H3C-GigabitEthernet1/0/3] quit
3、# 配置二层聚合接口1为Trunk端口,并允许VLAN 10和20的报文通过。
[H3C] interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] port link-type trunk
[H3C-Bridge-Aggregation1] port trunk permit vlan 10 20
[H3C-Bridge-Aggregation1] quit
华三-二层动态聚合配置举例
1、# 创建二层聚合接口1,并配置该接口为动态聚合模式
[H3C] interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] link-aggregation mode dynamic
[H3C-Bridge-Aggregation1] quit
2、# 分别将端口GigabitEthernet1/0/1至GigabitEthernet1/0/3加入到聚合组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
[H3C] interface gigabitethernet 1/0/3
[H3C-GigabitEthernet1/0/3] port link-aggregation group 1
[H3C-GigabitEthernet1/0/3] quit
3、# 配置二层聚合接口1为Trunk端口,并允许VLAN 10和20的报文通过。
[H3C] interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] port link-type trunk
[H3C-Bridge-Aggregation1] port trunk permit vlan 10 20
[H3C-Bridge-Aggregation1] quit
锐捷-配置静态/动态模式链路聚合
1、二层静态链路聚合
Ruijie(config)#interface range gigabitEthernet 0/1-3
Ruijie(config-if-range)#port-group 1
Ruijie(config-if-range)#exit
Ruijie(config)#interface aggregateport 1
Ruijie(config-if-AggregatePort 1)#switchport mode trunk
Ruijie(config-if-AggregatePort 1)#exit
Ruijie(config)#aggregateport load-balance src-dst-ip
Ruijie(config)#exit
2、二层动态链路聚合
Ruijie(config)#interface range gigabitEthernet 0/1-3
Ruijie(config-if-range)#port-group 1 mode active
Ruijie(config-if-range)#exit
Ruijie(config)#interface aggregateport 1
Ruijie(config-if-AggregatePort 1)#switchport mode trunk
Ruijie(config-if-AggregatePort 1)#exit
Ruijie(config)#aggregateport load-balance src-dst-ip
Ruijie(config)#exit
标签:H3C,Ruijie,端口,GigabitEthernet1,交换机,interface,华三锐,config,port From: https://www.cnblogs.com/speednet/p/16919100.html