• 全部
  • 經驗案例
  • 典型配置
  • 技術公告
  • FAQ
  • 漏洞說明
  • 全部
  • 全部
  • 大數據引擎
  • 知了引擎
產品線
搜索
取消
案例類型
發布者
是否解決
是否官方
時間
搜索引擎
匹配模式
高級搜索

m-lag keepLive起不來

2025-03-07提問
  • 0關注
  • 0收藏,530瀏覽
粉絲: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

 

 

最佳答案

zhl188 六段
粉絲:1人 關注:3人

你把拓撲和配置貼出來。


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

3 個回答
粉絲:32人 關注:1人

檢查一下接口配置,在設備上debug mlag keepalive報文看一下

debug看一下

zhiliao_v6hOyc 發表時間:2025-03-07 更多>>

接口啥配置,可以ping通

zhiliao_cGCjSS 發表時間:2025-03-07

debug看一下

zhiliao_v6hOyc 發表時間:2025-03-07
粉絲:109人 關注:0人
粉絲: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. 您是誰?(身份證明材料,可以是身份證或護照等證件)
我們認為知名企業應該坦然接受公眾討論,對於答案中不準確的部分,我們歡迎您以正式或非正式身份在根叔知了上進行澄清。

對根叔社區有害的內容

×

垃圾廣告信息
色情、暴力、血腥等違反法律法規的內容
政治敏感
不規範轉載 >
辱罵、歧視、挑釁等(不友善)
騷擾我
誘導投票

不規範轉載

×

舉報說明