华为实验 链路聚合
int eth-trunk 1mode lacp-statictrunkport gi 0/0/1trunkport gi 0/0/2 int eth-trunk 1load-balance xx 修改负载分担的算法(默认基于源、目IP)
调试:
display eth-trunk 1
关键知识:
1 华为以太网链路聚合 eth-trunk
2 聚合模式:手工模式
int eth-trunk 1trunkport gi 0/0/1trunkport gi 0/0/2
3 聚合模式:LACP
int eth-trunk 1mode lacp-statictrunkport gi 0/0/1trunkport gi 0/0/2
注:如果想配置成lacp模式需要先配置mode xx,然后再添加成员接口。
4 修改系统优先级用于选择主动端
[ ]lacp priority 100 (可选)
5
interface Eth-Trunk1max active-linknumber 2 (可选)
6
int eth-trunk 1load-balance xx 修改负载分担的算法
7 三层聚合:
交换机:
interface Eth-Trunk1port link-type accessport default vlan 88mode lacp-staticinterface Vlanif88ip address 12.1.1.1 255.255.255.0
路由器:
interface Eth-Trunk1undo portswitchip address 12.1.1.5 255.255.255.0 mode lacp-statictrunkport gi0/0/x