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