# 将以太网端口Ethernet2/0/1至Ethernet2/0/3加入聚合组1。
[DeviceA] interface ethernet 2/0/1
[DeviceA-Ethernet2/0/1] port link-aggregation group 1
[DeviceA-Ethernet2/0/1] interface ethernet 2/0/2
[DeviceA-Ethernet2/0/2] port link-aggregation group 1
[DeviceA-Ethernet2/0/2] interface ethernet 2/0/3
[DeviceA-Ethernet2/0/3] port link-aggregation group 1
l 采用动态聚合模式
# 创建二层聚合端口1,并配置成动态聚合模式。
<DeviceA> system-view
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] link-aggregation mode dynamic
[DeviceA-Bridge-Aggregation1] quit
===============================================================================
10.S8500交换机汇聚:
支持手工、静态、动态汇聚。
手工汇聚:创建手工汇聚组-->端口加入汇聚组
link-aggregation group id mode manual
端口视图下:port link-aggregation group id
例:[Quidway] link-aggregation group 1 mode manual
[Quidway] interface Ethernet1/0/1
[Quidway-Ethernet1/0/1] port link-aggregation group 1
静态汇聚:创建静态汇聚组-->端口加入汇聚组
link-aggregation group id mode static
端口视图下:port link-aggregation group id
例:[Quidway] link-aggregation group 1 mode static
[Quidway] interface Ethernet1/0/1
[Quidway-Ethernet1/0/1] port link-aggregation group 1
动态汇聚:端口开启LACP协议即可
端口视图下:lacp enable
例:[Quidway] interface Ethernet1/0/1
[Quidway-Ethernet1/0/1] lacp enable
跨板聚合:8500从1250以后的版本开始支持跨板聚合
===============================================================================
华为自研X3 X7系列交换机聚合
手工聚合
操作步骤
1.创建Eth-Trunk
# 创建Eth-Trunk 1。
<Quidway> system-view
[Quidway] sysname Switch
[Switch] interface eth-trunk 1
[Switch-Eth-Trunk1] quit
2.向Eth-Trunk中加入成员接口
# 将GE0/0/3加入Eth-Trunk 1。
[Switch] interface gigabitethernet 0/0/3
[Switch-GigabitEthernet0/0/3] eth-trunk 1 //如果不能加入,需要将端口下ntdp bdp bpdu undo掉
[Switch-GigabitEthernet0/0/3] quit
# 将GE0/0/4加入Eth-Trunk 1。
[Switch] interface gigabitethernet 0/0/4
[Switch-GigabitEthernet0/0/4] eth-trunk 1
[Switch-GigabitEthernet0/0/4] quit
3.配置Eth-Trunk 1
# 配置Eth-Trunk 1允许VLAN100-200的报文通过。
[Switch] interface eth-trunk 1
[Switch-Eth-Trunk1] port link-type trunk
[Switch-Eth-Trunk1] port trunk allow-pass vlan 100 to 200
[Switch-Eth-Trunk1] quit
lacp方式
1.创建编号为1的Eth-Trunk,配置它的工