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

参考方法: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
相关推荐
迎仔9 分钟前
网络硬件设备通俗指南:从“大喇叭”到“算力工厂”
网络·智能路由器
前端不太难11 分钟前
HarmonyOS PC 多窗口,到底在解决什么
华为·状态模式·harmonyos
LaoZhangGong12313 分钟前
学习TCP/IP的第4步:重点掌握TCP序列号和确认号
网络·学习·tcp/ip·以太网
EverydayJoy^v^27 分钟前
RH134学习进程——八.管理存储堆栈
linux·运维·服务器
zilikew30 分钟前
Flutter框架跨平台鸿蒙开发——小语种学习APP的开发流程
学习·flutter·华为·harmonyos·鸿蒙
芙莉莲教你写代码1 小时前
Flutter 框架跨平台鸿蒙开发 - 附近手作工具店查询应用开发教程
flutter·华为·harmonyos
梁辰兴1 小时前
计算机网络基础:传输层的端口
网络·计算机网络·计算机·端口·传输层·计算机网络基础·梁辰兴
czy87874751 小时前
LwIP 协议栈核心.c 文件依赖关系图
c语言·网络·单片机
鸣弦artha1 小时前
BottomSheet底部抽屉组件详解
flutter·华为·harmonyos
夕除2 小时前
java--1
linux·运维·服务器