华为交换机配置
1、创建Eth-Trunk组 system-view
interface Eth-Trunk 1
2、配置负载均衡模式
基于源-目的IP:load-balance src-dst-ip
基于MAC地址:load-balance src-dst-mac (缺省模式为src-dst-ip)
3、添加成员端口
interface GigabitEthernet0/0/1
eth-trunk 1
4、验证配置
display eth-trunk 1 load-balance
思科交换机配置
1、创建Port-Channel组
configure terminal
interface Port-channel1
2、静态聚合(无协议)
interface GigabitEthernet1/0/1
channel-group 1 mode on
3、动态聚合(LACP)
channel-group 1 mode active
4、负载均衡策略
全局配置:port-channel load-balance src-dst-ip
华三/锐捷交换机配置
1、静态聚合
interface Bridge-Aggregation 1
link-aggregation mode static
2、动态聚合(LACP)
link-aggregation mode dynamic
3、成员端口绑定
interface GigabitEthernet1/0/1
port link-aggregation group 1
```:ml-citation{ref="7" data="citationList"} |