接入交換機S5130S 做5台堆疊,這個MAD檢測線咋連?不能使用第三台設備輔助,不能使用LACP檢測,隻能使用MAD檢測的情況下。能和2台設備堆疊時那種連線方式嗎?就是和IRF接線方式一樣的接線方式。
(0)
最佳答案
由於網絡規模迅速擴大,當前中心交換機(Device A)轉發能力已經不能滿足需求,需要另外增加一台設備Device B。現需要將兩台設備配置IRF2堆疊,將網絡轉發能力提高一倍,並實現網絡易管理、易維護。Device A和Device B分別使用自帶的兩個萬兆口做堆疊口。也可以隻用一個接口堆疊,根據實際情況而定。
# Device A保留缺省編號為1,不需要進行配置。同時,在Device B上將設備的成員編號修改為2。
<DeviceB> system-view //進入係統視圖
[DeviceB] irf member 1 renumber 2 //將設備的成員編號修改為2
Warning: Renumbering the switch number may result in configuration change or loss. Continue? [Y/N]:y
[DeviceB]
3.1.2 配置堆疊口
#將兩台設備斷電後,按組網圖所示連接IRF鏈路,然後將兩台設備上電。在Device A上創建設備的IRF端口2,與物理端口Ten-GigabitEthernet1/0/25、 Ten-GigabitEthernet1/0/26綁定,並保存配置。
<DeviceA> system-view //進入係統視圖
[DeviceA] interface ten-gigabitethernet 1/0/25 //進入xg1/0/25接口
[DeviceA-Ten-GigabitEthernet1/0/25] shutdown //關閉接口
[DeviceA-Ten-GigabitEthernet1/0/25]
quit //退出當前視圖
[DeviceA]
interface ten-gigabitethernet 1/0/26 //進入xg1/0/26接口
[DeviceA-Ten-GigabitEthernet1/0/26] shutdown //關閉接口
[DeviceA-Ten-GigabitEthernet1/0/26] quit //退出當前視圖
[DeviceA] irf-port 1/2 //進入irf端口1/2
[DeviceA-irf-port1/2] port group interface ten-gigabitethernet1/0/25 //將成員設備1的IRF物理端口Ten-GigabitEthernet1/0/25和IRF端口IRF-port2綁定
[DeviceA-irf-port1/2] port group interface ten-gigabitethernet1/0/26 //將成員設備1的IRF物理端口Ten-GigabitEthernet1/0/26和IRF端口IRF-port2綁定
[DeviceA-irf-port1/2] quit //退出當前視圖
[DeviceA] interface ten-gigabitethernet 1/0/25 //進入xg1/0/25接口
[DeviceA-Ten-GigabitEthernet1/0/25] undo shutdown //開啟接口
[DeviceA-Ten-GigabitEthernet1/0/25] quit //退出當前視圖
[DeviceA] interface ten-gigabitethernet 1/0/26 //進入xg1/0/26接口
[DeviceA-Ten-GigabitEthernet1/0/26] undo shutdown //開啟接口
[DeviceA-Ten-GigabitEthernet1/0/26] quit //退出當前視圖
[DeviceA] save force //保存配置
# 在Device B上創建設備的IRF端口1,與物理端口Ten-GigabitEthernet2/0/25、Ten-GigabitEthernet2/0/26綁定,並保存配置。
<DeviceB> system-view //進入係統視圖
[DeviceB] interface ten-gigabitethernet 2/0/25 //進入xg2/0/25接口
[DeviceB-Ten-GigabitEthernet2/0/25] shutdown //關閉接口
[DeviceB-Ten-GigabitEthernet2/0/25] quit //退出當前視圖
[DeviceB] interface ten-gigabitethernet 2/0/26 //進入xg2/0/26接口
[DeviceB-Ten-GigabitEthernet2/0/26] shutdown //關閉接口
[DeviceB-Ten-GigabitEthernet2/0/26] quit //退出當前視圖
[DeviceB] irf-port 2/1 //進入irf端口2/1
[DeviceB-irf-port2/1] port group interface ten-gigabitethernet2/0/25 //將成員設備2的IRF物理端口Ten-GigabitEthernet2/0/25和IRF端口IRF-port1綁定
[DeviceB-irf-port2/1] port group interface ten-gigabitethernet2/0/26 //將成員設備2的IRF物理端口Ten-GigabitEthernet2/0/26和IRF端口IRF-port1綁定
[DeviceB-irf-port2/1] quit //退出當前視圖
[DeviceB] interface ten-gigabitethernet 2/0/25 //進入xg2/0/25接口
[DeviceB-Ten-GigabitEthernet2/0/25] undo shutdown //開啟接口
[DeviceB-Ten-GigabitEthernet2/0/25] quit //退出當前視圖
[DeviceB] interface ten-gigabitethernet 2/0/26 //進入xg2/0/26接口
[DeviceB-Ten-GigabitEthernet2/0/26] undo shutdown //開啟接口
[DeviceB-Ten-GigabitEthernet2/0/26] quit //退出當前視圖
[DeviceB] save force //保存配置
# 激活DeviceA的IRF端口配置。
[DeviceA] irf-port-configuration active //激活DeviceA的IRF端口配置
# 激活DeviceB的IRF端口配置。
[DeviceB] irf-port-configuration active //激活DeviceB的IRF端口配置
#兩台設備間將會進行Master競選,競選失敗的一方將自動重啟,重啟完成後,IRF形成,係統名稱統一為DeviceA
3.2 BFD分裂檢測(選配)
IRF設備一旦分裂,會變成兩台配置完全相同的設備,導致業務轉發有問題。為了避免此類問題出現,可以配置分裂檢測。設備一旦檢測到IRF2分裂,則自動關閉備設備的所有非保留端口。在此介紹BFD MAD分裂檢測配置方法。使用網線Device A上的端口GigabitEthernet1/0/1和Device B上的端口GigabitEthernet2/0/1連接起來。
# 創建VLAN 3,並將Device A上的端口GigabitEthernet1/0/1和Device B上的端口GigabitEthernet2/0/1加入VLAN中。
<DeviceA> system-view //進入係統視圖
[DeviceA] vlan 3 //創建vlan3
[DeviceA-vlan3] port gigabitethernet 1/0/1 gigabitethernet 2/0/1 //將g1/0/1和g2/0/1加入vlan3中
[DeviceA-vlan3] quit //退出當前視圖
# 創建VLAN接口3,並配置MAD IP地址。
[DeviceA] interface vlan-interface 3 //進入vlan3虛接口
[DeviceA-Vlan-interface3] mad bfd enable //開啟bfd mad檢測
[DeviceA-Vlan-interface3] mad ip address 192.168.2.1 24 member 1 //配置vlan3接口在成員設備1上的MAD IP地址為192.168.2.1
[DeviceA-Vlan-interface3] mad ip address 192.168.2.2 24 member 2 //配置vlan3接口在成員設備2上的MAD IP地址為192.168.2.2
[DeviceA-Vlan-interface3] quit //退出當前視圖
# 按組網圖所示連接BFD MAD鏈路。
# 因為BFD MAD和生成樹功能互斥,所以在GigabitEthernet1/0/1和GigabitEthernet2/0/1上關閉生成樹協議。
[DeviceA] interface gigabitethernet 1/0/1 //進入g1/0/1接口
[DeviceA-Gigabitethernet1/0/1] undo stp enable //關閉生成樹
[DeviceA-Gigabitethernet1/0/1] quit //退出當前視圖
[DeviceA] interface gigabitethernet 2/0/1 //進入g2/0/1接口
[DeviceA-Gigabitethernet2/0/1] undo stp enable //關閉生成樹
(0)
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
暫無評論