1.静态聚合

<H3C>system-view											#进入系统视图
[H3C]int Bridge-Aggregation 1								#创建并进入聚合组 1
[H3C-Bridge-Aggregation1]quit								#退出聚合组
[H3C]int GigabitEthernet 1/0/1								#进入端口 G1/0/1
[H3C-GigabitEthernet1/0/1]port link-aggregation group 1		#加入聚合组 1
[H3C-GigabitEthernet1/0/1]int GigabitEthernet 1/0/2			进入端口 G1/0/2
[H3C-GigabitEthernet1/0/2]port link-aggregation group 1		#加入聚合组 1
[H3C-GigabitEthernet1/0/2]int GigabitEthernet 1/0/3
[H3C-GigabitEthernet1/0/3]port link-aggregation group 1
[H3C]dis link-aggregation verbose							#查看聚合组信息
[H3C]save													#保存

2.动态聚合

<H3C>system-view
[H3C]int Bridge-Aggregation 1
[H3C-Bridge-Aggregation1]link-aggregation mode dynamic 			#设置聚合模式为dynamic
[H3C-Bridge-Aggregation1]quit
[H3C]int GigabitEthernet 1/0/1
[H3C-GigabitEthernet1/0/1]port link-aggregation group 1
[H3C-GigabitEthernet1/0/1]int GigabitEthernet 1/0/2
[H3C-GigabitEthernet1/0/2]port link-aggregation group 1
[H3C-GigabitEthernet1/0/2]int GigabitEthernet 1/0/3
[H3C-GigabitEthernet1/0/3]port link-aggregation group 1
[H3C]dis link-aggregation verbose

总结:创建聚合组,将端口加入聚合组。

区别:

静态聚合是固额分配带宽

动态聚合是智能分配带宽

静态链路断了还能通讯

动态链路断了无法通讯