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

smartlink不同牌子,沒有flush功能後。配置也是一樣的嗎

2023-11-15提問
  • 0關注
  • 0收藏,1029瀏覽
粉絲:0人 關注:0人

問題描述:

可以把smartlink配置都發一下出來。謝謝

最佳答案

blili 八段
粉絲:3人 關注:0人
1 個回答
粉絲:20人 關注:9人

您好,請知:

以下是配置案例,請參考:

1.7  Smart Link典型配置舉例

1.7.1  單Smart Link組配置舉例

1. 組網需求

·     在圖1-2所示的組網中,Device C和Device D為Smart Link設備,Device A、Device B和Device E為相關設備。Device C和Device D上VLAN 1~30的流量分別雙上行到Device A。

·     通過配置,在Device C和Device D上分別實現雙上行鏈路的靈活備份。

2. 組網圖

圖1-2 單Smart Link組配置組網圖

3. 配置步驟

(1)     配置Device C

# 創建VLAN 1~30,將這些VLAN都映射到MSTI 1上,並激活MST域的配置。

<DeviceC> system-view

[DeviceC] vlan 1 to 30

[DeviceC] stp region-configuration

[DeviceC-mst-region] instance 1 vlan 1 to 30

[DeviceC-mst-region] active region-configuration

[DeviceC-mst-region] quit

# 分別關閉端口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2,在這兩個端口上分別關閉生成樹協議,並將端口配置為Trunk端口且允許VLAN 1~30通過。

[DeviceC] interface ten-gigabitethernet 1/0/1

[DeviceC-Ten-GigabitEthernet1/0/1] shutdown

[DeviceC-Ten-GigabitEthernet1/0/1] undo stp enable

[DeviceC-Ten-GigabitEthernet1/0/1] port link-type trunk

[DeviceC-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceC-Ten-GigabitEthernet1/0/1] quit

[DeviceC] interface ten-gigabitethernet 1/0/2

[DeviceC-Ten-GigabitEthernet1/0/2] shutdown

[DeviceC-Ten-GigabitEthernet1/0/2] undo stp enable

[DeviceC-Ten-GigabitEthernet1/0/2] port link-type trunk

[DeviceC-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceC-Ten-GigabitEthernet1/0/2] quit

# 創建Smart Link組1,並配置其保護VLAN為MSTI 1所映射的VLAN。

[DeviceC] smart-link group 1

[DeviceC-smlk-group1] protected-vlan reference-instance 1

# 配置Smart Link組1的主端口為Ten-GigabitEthernet1/0/1,從端口為Ten-GigabitEthernet1/0/2。

[DeviceC-smlk-group1] port ten-gigabitethernet 1/0/1 primary

[DeviceC-smlk-group1] port ten-gigabitethernet 1/0/2 secondary

# 在Smart Link組1中開啟發送Flush報文的功能,並指定發送Flush報文的控製VLAN為VLAN 10。

[DeviceC-smlk-group1] flush enable control-vlan 10

[DeviceC-smlk-group1] quit

# 重新開啟端口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2。

[DeviceC] interface ten-gigabitethernet 1/0/1

[DeviceC-Ten-GigabitEthernet1/0/1] undo shutdown

[DeviceC-Ten-GigabitEthernet1/0/1] quit

[DeviceC] interface ten-gigabitethernet 1/0/2

[DeviceC-Ten-GigabitEthernet1/0/2] undo shutdown

[DeviceC-Ten-GigabitEthernet1/0/2] quit

(2)     配置Device D

# 創建VLAN 1~30,將這些VLAN都映射到MSTI 1上,並激活MST域的配置。

<DeviceD> system-view

[DeviceD] vlan 1 to 30

[DeviceD] stp region-configuration

[DeviceD-mst-region] instance 1 vlan 1 to 30

[DeviceD-mst-region] active region-configuration

[DeviceD-mst-region] quit

# 分別關閉端口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2,在這兩個端口上分別關閉生成樹協議,並將端口配置為Trunk端口且允許VLAN 1~30通過。

[DeviceD] interface ten-gigabitethernet 1/0/1

[DeviceD-Ten-GigabitEthernet1/0/1] shutdown

[DeviceD-Ten-GigabitEthernet1/0/1] undo stp enable

[DeviceD-Ten-GigabitEthernet1/0/1] port link-type trunk

[DeviceD-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceD-Ten-GigabitEthernet1/0/1] quit

[DeviceD] interface ten-gigabitethernet 1/0/2

[DeviceD-Ten-GigabitEthernet1/0/2] shutdown

[DeviceD-Ten-GigabitEthernet1/0/2] undo stp enable

[DeviceD-Ten-GigabitEthernet1/0/2] port link-type trunk

[DeviceD-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceD-Ten-GigabitEthernet1/0/2] quit

# 創建Smart Link組1,並配置其保護VLAN為MSTI 1所映射的VLAN。

[DeviceD] smart-link group 1

[DeviceD-smlk-group1] protected-vlan reference-instance 1

# 配置Smart Link組1的主端口為Ten-GigabitEthernet1/0/1,從端口為Ten-GigabitEthernet1/0/2。

[DeviceD-smlk-group1] port ten-gigabitethernet 1/0/1 primary

[DeviceD-smlk-group1] port ten-gigabitethernet 1/0/2 secondary

# 在Smart Link組1中開啟發送Flush報文的功能,並指定發送Flush報文的控製VLAN為VLAN 20。

[DeviceD-smlk-group1] flush enable control-vlan 20

[DeviceD-smlk-group1] quit

# 重新開啟端口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2。

[DeviceD] interface ten-gigabitethernet 1/0/1

[DeviceD-Ten-GigabitEthernet1/0/1] undo shutdown

[DeviceD-Ten-GigabitEthernet1/0/1] quit

[DeviceD] interface ten-gigabitethernet 1/0/2

[DeviceD-Ten-GigabitEthernet1/0/2] undo shutdown

[DeviceD-Ten-GigabitEthernet1/0/2] quit

(3)     配置Device B

# 創建VLAN 1~30。

<DeviceB> system-view

[DeviceB] vlan 1 to 30

# 將端口Ten-GigabitEthernet1/0/1配置為Trunk端口且允許VLAN 1~30通過,在該端口上開啟接收Flush報文的功能,並指定接收Flush報文的控製VLAN為VLAN 10和20。

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

[DeviceB-Ten-GigabitEthernet1/0/1] port link-type trunk

[DeviceB-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceB-Ten-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 20

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

# 將端口Ten-GigabitEthernet1/0/2配置為Trunk端口且允許VLAN 1~30通過,在該端口上關閉生成樹協議並開啟接收Flush報文的功能,並指定接收Flush報文的控製VLAN為VLAN 20。

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

[DeviceB-Ten-GigabitEthernet1/0/2] port link-type trunk

[DeviceB-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceB-Ten-GigabitEthernet1/0/2] undo stp enable

[DeviceB-Ten-GigabitEthernet1/0/2] smart-link flush enable control-vlan 20

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

# 將端口Ten-GigabitEthernet1/0/3配置為Trunk端口且允許VLAN 1~30通過,在該端口上關閉生成樹協議並開啟接收Flush報文的功能,並指定接收Flush報文的控製VLAN為VLAN 10。

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

[DeviceB-Ten-GigabitEthernet1/0/3] port link-type trunk

[DeviceB-Ten-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceB-Ten-GigabitEthernet1/0/3] undo stp enable

[DeviceB-Ten-GigabitEthernet1/0/3] smart-link flush enable control-vlan 10

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

(4)     配置Device E

# 創建VLAN 1~30。

<DeviceE> system-view

[DeviceE] vlan 1 to 30

# 將端口Ten-GigabitEthernet1/0/1配置為Trunk端口且允許VLAN 1~30通過,在該端口上開啟接收Flush報文的功能,並指定接收Flush報文的控製VLAN為VLAN 10和20。

[DeviceE] interface ten-gigabitethernet 1/0/1

[DeviceE-Ten-GigabitEthernet1/0/1] port link-type trunk

[DeviceE-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceE-Ten-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 20

[DeviceE-Ten-GigabitEthernet1/0/1] quit

# 將端口Ten-GigabitEthernet1/0/2配置為Trunk端口且允許VLAN 1~30通過,在該端口上關閉生成樹協議並開啟接收Flush報文的功能,並指定接收Flush報文的控製VLAN為VLAN 10。

[DeviceE] interface ten-gigabitethernet 1/0/2

[DeviceE-Ten-GigabitEthernet1/0/2] port link-type trunk

[DeviceE-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceE-Ten-GigabitEthernet1/0/2] undo stp enable

[DeviceE-Ten-GigabitEthernet1/0/2] smart-link flush enable control-vlan 10

[DeviceE-Ten-GigabitEthernet1/0/2] quit

# 將端口Ten-GigabitEthernet1/0/3配置為Trunk端口且允許VLAN 1~30通過,在該端口上關閉生成樹協議並開啟接收Flush報文的功能,並指定接收Flush報文的控製VLAN為VLAN 20。

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

[DeviceE-Ten-GigabitEthernet1/0/3] port link-type trunk

[DeviceE-Ten-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30

[DeviceE-Ten-GigabitEthernet1/0/3] undo stp enable

[DeviceE-Ten-GigabitEthernet1/0/3] smart-link flush enable control-vlan 20

[DeviceE-Ten-GigabitEthernet1/0/3] quit

(5)     配置Device A

# 創建VLAN 1~30。

<DeviceA> system-view

[DeviceA] vlan 1 to 30

# 分別將端口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2配置為Trunk端口且允許VLAN 1~30通過,在這些端口上開啟接收Flush報文的功能,並指定接收Flush報文的控製VLAN為VLAN 10和20。

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

[DeviceA-Ten-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceA-Ten-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 20

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

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

[DeviceA-Ten-GigabitEthernet1/0/2] port link-type trunk

[DeviceA-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceA-Ten-GigabitEthernet1/0/2] smart-link flush enable control-vlan 10 20

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

暫無評論

編輯答案

你正在編輯答案

如果你要對問題或其他回答進行點評或詢問,請使用評論功能。

分享擴散:

提出建議

    +

親~登錄後才可以操作哦!

確定

親~檢測到您登陸的賬號未在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. 您是誰?(身份證明材料,可以是身份證或護照等證件)
我們認為知名企業應該坦然接受公眾討論,對於答案中不準確的部分,我們歡迎您以正式或非正式身份在根叔知了上進行澄清。

對根叔社區有害的內容

×

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

不規範轉載

×

舉報說明