• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

m-lag keepLive起不来

2025-03-07提问
  • 0关注
  • 0收藏,125浏览
粉丝:0人 关注:0人

问题描述:

只配置了keeplive,为啥起不来keeplive

[H3C]dis cu | in m-lag

 m-lag system-mac 0001-0001-0002

 m-lag system-number 1

 m-lag system-priority 123

 m-lag keepalive ip destination 192.168.1.2 source 192.168.1.1

 

[H3C]dis cu | in m-lag

 m-lag system-mac 0001-0001-0002

 m-lag system-number 2

 m-lag system-priority 123

 m-lag keepalive ip destination 192.168.1.1 source 192.168.1.2

 

 

4 个回答
粉丝:14人 关注:1人

检查一下接口配置,在设备上debug mlag keepalive报文看一下

debug看一下

zhiliao_v6hOyc 发表时间:2025-03-07 更多>>

接口啥配置,可以ping通

zhiliao_cGCjSS 发表时间:2025-03-07

debug看一下

zhiliao_v6hOyc 发表时间:2025-03-07
粉丝:150人 关注:0人
zhl188 四段
粉丝:0人 关注:2人

你把拓扑和配置贴出来。


2. 组网图

图1-14 M-LAG基本功能配置组网图

3. 配置步骤

(1)     配置Device A

# 系统配置。

<DeviceA> system-view

[DeviceA] m-lag system-mac 1-1-1

[DeviceA] m-lag system-number 1

[DeviceA] m-lag system-priority 123

# 配置Keepalive报文的目的IP地址和源IP地址。

[DeviceA] m-lag keepalive ip destination 1.1.1.1 source 1.1.1.2

# 配置端口Ten-GigabitEthernet3/0/5工作在三层模式,并配置IP地址为Keepalive报文的源IP地址。

[DeviceA] interface ten-gigabitethernet 3/0/5

[DeviceA-Ten-GigabitEthernet3/0/5] port link-mode route

[DeviceA-Ten-GigabitEthernet3/0/5] ip address 1.1.1.2 24

[DeviceA-Ten-GigabitEthernet3/0/5] quit

# 配置Keepalive链路接口为保留接口。

[DeviceA] m-lag mad exclude interface ten-gigabitethernet 3/0/5

# 创建二层聚合接口3,并配置该接口为动态聚合模式。

[DeviceA] interface bridge-aggregation 3

[DeviceA-Bridge-Aggregation3] link-aggregation mode dynamic

[DeviceA-Bridge-Aggregation3] quit

# 分别将端口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2加入到聚合组3中。

[DeviceA] interface ten-gigabitethernet 3/0/1

[DeviceA-Ten-GigabitEthernet3/0/1] port link-aggregation group 3

[DeviceA-Ten-GigabitEthernet3/0/1] quit

[DeviceA] interface ten-gigabitethernet 3/0/2

[DeviceA-Ten-GigabitEthernet3/0/2] port link-aggregation group 3

[DeviceA-Ten-GigabitEthernet3/0/2] quit

# 将二层聚合接口3配置为peer-link接口。

[DeviceA] interface bridge-aggregation 3

[DeviceA-Bridge-Aggregation3] port m-lag peer-link 1

[DeviceA-Bridge-Aggregation3] undo mac-address static source-check enable

[DeviceA-Bridge-Aggregation3] quit

# 创建二层聚合接口4,并配置该接口为动态聚合模式。

[DeviceA] interface bridge-aggregation 4

[DeviceA-Bridge-Aggregation4] link-aggregation mode dynamic

[DeviceA-Bridge-Aggregation4] quit

# 分别将端口Ten-GigabitEthernet3/0/3和Ten-GigabitEthernet3/0/4加入到聚合组4中。

[DeviceA] interface ten-gigabitethernet 3/0/3

[DeviceA-Ten-GigabitEthernet3/0/3] port link-aggregation group 4

[DeviceA-Ten-GigabitEthernet3/0/3] quit

[DeviceA] interface ten-gigabitethernet 3/0/4

[DeviceA-Ten-GigabitEthernet3/0/4] port link-aggregation group 4

[DeviceA-Ten-GigabitEthernet3/0/4] quit

# 将二层聚合接口4加入M-LAG组4中。

[DeviceA] interface bridge-aggregation 4

[DeviceA-Bridge-Aggregation4] port m-lag group 4

[DeviceA-Bridge-Aggregation4] quit

(2)     配置Device B

# 系统配置。

<DeviceB> system-view

[DeviceB] m-lag system-mac 1-1-1

[DeviceB] m-lag system-number 2

[DeviceB] m-lag system-priority 123

# 配置Keepalive报文的目的IP地址和源IP地址。

[DeviceB] m-lag keepalive ip destination 1.1.1.2 source 1.1.1.1

# 配置端口Ten-GigabitEthernet3/0/5工作在三层模式,并配置IP地址为Keepalive报文的源IP地址。

[DeviceB] interface ten-gigabitethernet 3/0/5

[DeviceB-Ten-GigabitEthernet3/0/5] port link-mode route

[DeviceB-Ten-GigabitEthernet3/0/5] ip address 1.1.1.1 24

[DeviceB-Ten-GigabitEthernet3/0/5] quit

# 配置Keepalive链路接口为保留接口。

[DeviceB] m-lag mad exclude interface ten-gigabitethernet 3/0/5

# 创建二层聚合接口3,并配置该接口为动态聚合模式。

[DeviceB] interface bridge-aggregation 3

[DeviceB-Bridge-Aggregation3] link-aggregation mode dynamic

[DeviceB-Bridge-Aggregation3] quit

# 分别将端口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2加入到聚合组3中。

[DeviceB] interface ten-gigabitethernet 3/0/1

[DeviceB-Ten-GigabitEthernet3/0/1] port link-aggregation group 3

[DeviceB-Ten-GigabitEthernet3/0/1] quit

[DeviceB] interface ten-gigabitethernet 3/0/2

[DeviceB-Ten-GigabitEthernet3/0/2] port link-aggregation group 3

[DeviceB-Ten-GigabitEthernet3/0/2] quit

# 将二层聚合接口3配置为peer-link接口。

[DeviceB] interface bridge-aggregation 3

[DeviceB-Bridge-Aggregation3] port m-lag peer-link 1

[DeviceB-Bridge-Aggregation3] undo mac-address static source-check enable

[DeviceB-Bridge-Aggregation3] quit

# 创建二层聚合接口4,并配置该接口为动态聚合模式。

[DeviceB] interface bridge-aggregation 4

[DeviceB-Bridge-Aggregation4] link-aggregation mode dynamic

[DeviceB-Bridge-Aggregation4] quit

# 分别将端口Ten-GigabitEthernet3/0/3和Ten-GigabitEthernet3/0/4加入到聚合组4中。

[DeviceB] interface ten-gigabitethernet 3/0/3

[DeviceB-Ten-GigabitEthernet3/0/3] port link-aggregation group 4

[DeviceB-Ten-GigabitEthernet3/0/3] quit

[DeviceB] interface ten-gigabitethernet 3/0/4

[DeviceB-Ten-GigabitEthernet3/0/4] port link-aggregation group 4

[DeviceB-Ten-GigabitEthernet3/0/4] quit

# 将二层聚合接口4加入M-LAG组4中。

[DeviceB] interface bridge-aggregation 4

[DeviceB-Bridge-Aggregation4] port m-lag group 4

[DeviceB-Bridge-Aggregation4] quit

(3)     配置Device C

# 创建二层聚合接口4,并配置该接口为动态聚合模式。

<DeviceC> system-view

[DeviceC] interface bridge-aggregation 4

[DeviceC-Bridge-Aggregation4] link-aggregation mode dynamic

[DeviceC-Bridge-Aggregation4] quit

# 分别将端口Ten-GigabitEthernet3/0/1~Ten-GigabitEthernet3/0/4加入到聚合组4中。

[DeviceC] interface range ten-gigabitethernet 3/0/1 to ten-gigabitethernet 3/0/4

[DeviceC-if-range] port link-aggregation group 4

[DeviceC-if-range] quit

粉丝:0人 关注:0人

链路两端 IP 地址是否可以 ping 通?

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。


分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明