华为交换机与锐捷交换机端口链路聚合的配置

参考方法:https://www.douyin.com/note/7111701724263386383

注意要点:

1、华为交换机上要关闭端口自适应,不然端口起不来;

复制代码
interface GigabitEthernet0/0/25
 undo negotiation auto

2、链接聚合模式2边要一至,都就自动(动态)或手动(静态),不然华为看到up了,锐捷看到是down的 ;

3、load-balance方式要一至。

方式一:自动(华为叫LACP,锐捷叫动态模式mode active)

华为交换机端口配置:

复制代码
<Quidway>display current-configuration interface GigabitEthernet 0/0/25
#
interface GigabitEthernet0/0/25
 undo negotiation auto
 eth-trunk 1
#
return
<Quidway>display current-configuration interface GigabitEthernet 0/0/26
#
interface GigabitEthernet0/0/26
 undo negotiation auto
 eth-trunk 1
#
return
<Quidway>display current-configuration interface Eth-Trunk 1
#
interface Eth-Trunk1
 port link-type negotiation-desirable
 mode lacp
 load-balance src-dst-mac
#
return

锐捷交换机配置,自动配置中的port-group 2 mode active换成port-group 2

复制代码
BIAO4_CORE_SW#show run interface tenGigabitEthernet 2/19

Building configuration...
Current configuration: 137 bytes

interface TenGigabitEthernet 2/19
 description TO-atrust_server_172.18.1.13
 port-group 2 
 rldp port loop-detect warning
BIAO4_CORE_SW#show run interface tenGigabitEthernet 2/20

Building configuration...
Current configuration: 137 bytes

interface TenGigabitEthernet 2/20
 description TO-atrust_server_172.18.1.13
 port-group 2 
 rldp port loop-detect warning

BIAO4_CORE_SW#show run interface aggregatePort 2

Building configuration...
Current configuration: 68 bytes

interface AggregatePort 2
 aggregateport load-balance src-dst-mac

ok,可以在华为交换机上ping通锐捷交换机ip了。

方式二:手动或叫静态

华为交换机配置,少了mode lacp这一行参数

复制代码
<Quidway>display current-configuration interface GigabitEthernet 0/0/25
#
interface GigabitEthernet0/0/25
 undo negotiation auto
 eth-trunk 1
#
return
<Quidway>display current-configuration interface GigabitEthernet 0/0/26
#
interface GigabitEthernet0/0/26
 undo negotiation auto
 eth-trunk 1
#
return
<Quidway>display current-configuration interface Eth-Trunk 1
#
interface Eth-Trunk1
 port link-type negotiation-desirable
 load-balance src-dst-mac
#
return

锐捷交换机配置

复制代码
BIAO4_CORE_SW#show run interface tenGigabitEthernet 2/19 

Building configuration...
Current configuration: 131 bytes

interface TenGigabitEthernet 2/19
 description TO-atrust_server_172.18.1.13
 port-group 2
 rldp port loop-detect shutdown-port
BIAO4_CORE_SW#show run interface tenGigabitEthernet 2/20

Building configuration...
Current configuration: 131 bytes

interface TenGigabitEthernet 2/20
 description TO-atrust_server_172.18.1.13
 port-group 2
 rldp port loop-detect shutdown-port
BIAO4_CORE_SW#show run interface ag                     
BIAO4_CORE_SW#show run interface aggregatePort 2

Building configuration...
Current configuration: 68 bytes

interface AggregatePort 2
 aggregateport load-balance src-dst-mac
相关推荐
feng14568 分钟前
稳定性-资金安全和资损防控
运维·网络·安全
cen__y12 分钟前
Linux05(管道)
linux·运维·服务器·c语言·开发语言·文件流
奇妙之二进制17 分钟前
zmq源码分析之IO线程绑定时机
开发语言·网络
多年小白25 分钟前
AI 日报 - 2026年4月25日(周六)
网络·人工智能·科技·深度学习·ai
liulian091629 分钟前
【Flutter for OpenHarmony第三方库】Flutter for OpenHarmony 音频播放功能适配与实现指南
flutter·华为·音视频·学习方法·harmonyos
cyber_两只龙宝33 分钟前
【Oracle】Oracle之使用DML语言管理表
linux·运维·服务器·数据库·云原生·oracle
KIHU快狐37 分钟前
快狐KIHU|86寸落地触控一体机G+G电容屏HarmonyOS鸿蒙酒吧查询终端
python·华为·harmonyos
SuperHeroWu740 分钟前
【小艺Claw】鸿蒙龙虾是什么?如何接入和使用?
华为·harmonyos·鸿蒙·jiuwenclaw·小艺claw
Johnstons42 分钟前
网络诊断工具怎么选:从监控告警到抓包定位的完整方法论
服务器·网络·php·es·抓包分析·网络诊断工具选型与排障方法
惊鸿若梦一书生1 小时前
《Python 高阶教程》016|偏函数与柯里化:把复杂调用拆成更简单的组合
linux·网络·python