知识点
1.链路聚合要求两端设备间参与聚合的接口数量、速率、双工模式、流控方式一致
2.链路聚合分为 手动聚合(manual);lacp-static(lacp 静态聚合)
3.lacp 是一个公有协议 Link Aggregation Control Protocol的简写 :链路汇聚控制协议
4.命令 eth-trunk:以太网trunk
5.添加方式:
manual手动配置

方法一

[Huawei]int Eth-Trunk 1
[Huawei-Eth-Trunk1]quit
[Huawei]interface GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1]eth-trunk 1
[Huawei-GigabitEthernet0/0/2]interface GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/2]eth-trunk 1

方法二

[Huawei]int Eth-Trunk 1
[Huawei-Eth-Trunk1]
[Huawei-Eth-Trunk1]trunkport GigabitEthernet 0/0/1
[Huawei-Eth-Trunk1]trunkport GigabitEthernet 0/0/2

lacp-static配置(可实现链路备份)

[Huawei]int Eth-Trunk 1
[Huawei-Eth-Trunk1]mode lacp-static
[Huawei-Eth-Trunk1]trunkport GigabitEthernet 0/0/1
[Huawei-Eth-Trunk1]trunkport GigabitEthernet 0/0/2
[Huawei-Eth-Trunk1]max active-linknumber 2 设置激活端口数量2

扩展知识

[Huawei-Eth-Trunk1]mode manual manual是默认的,如果选用手动就可以不写这条
[Huawei-Eth-Trunk1]load-balance ? -----基于什么区均衡分流 比如源IP、目的IP、源Mac等等
dis int eth-trunk 1 dis eth-trunk 1
华为链路聚合_第1张图片