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

参考方法: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
相关推荐
白帽黑客沐瑶3 天前
【网络安全就业】信息安全专业的就业前景(非常详细)零基础入门到精通,收藏这篇就够了
网络·安全·web安全·计算机·程序员·编程·网络安全就业
christine-rr3 天前
linux常用命令(4)——压缩命令
linux·服务器·redis
東雪蓮☆3 天前
深入理解 LVS-DR 模式与 Keepalived 高可用集群
linux·运维·服务器·lvs
树码小子3 天前
Java网络编程:(socket API编程:TCP协议的 socket API -- 回显程序的服务器端程序的编写)
java·网络·tcp/ip
猫林老师3 天前
HarmonyOS数据持久化:Preferences轻量级存储实战
华为·harmonyos
乌萨奇也要立志学C++3 天前
【Linux】进程概念(二):进程查看与 fork 初探
linux·运维·服务器
绿箭柠檬茶3 天前
Ubuntu 服务器配置转发网络访问
服务器·网络·ubuntu
real 13 天前
传输层协议UDP
网络·网络协议·udp
獭.獭.3 天前
Linux -- 信号【上】
linux·运维·服务器
路由侠内网穿透3 天前
本地部署 GPS 跟踪系统 Traccar 并实现外部访问
运维·服务器·网络·windows·tcp/ip