您好,參考這個官方配置
不一定要用堆疊線的
提供10GE端口的EC係列接口板上,從第一個10GE端口的編號開始,按端口編號由小到大的順序,每4個連續的端口分為一組。
· 如果使用using tengige命令將一個40GE接口拆分成四個10GE接口,這四個10GE接口將分作一組;如果直接使用40GE端口作為IRF物理端口,則不需要考慮端口的分組。
· 同一組中的所有端口用途必須相同,即當組內某一端口與IRF端口綁定後,該組中其它端口也必須與IRF端口綁定,不能再作為普通業務端口使用,反之亦然。
· 在將組內某個端口與IRF端口進行綁定或取消綁定之前,必須先對該端口所在組內的所有端口執行shutdown操作,在完成綁定或取消綁定操作後,再對同組內所有端口執行undo shutdown操作。
· 對於LSUM1YGS48XSH0接口板,將接口配置成IRF物理端口前,接口板需要按組檢查speed配置。從第一個端口編號開始,按端口編號由小到大的順序,每4個連續的端口分為一組。同一個組內,若有一個接口與IRF端口綁定,組內所有接口上的speed配置都會被清除。若組內有端口需要配置speed命令,則需要取消組內所有接口與IRF端口的綁定。有關speed配置的詳細介紹,請參見“接口管理配置指導”中的“以太網接口”。
· 當選用具有40GE QSFP+端口的接口板進行IRF連接時,由於40GE QSFP+端口具備拆分成4個10GE端口的功能,當執行拆分或合並操作時需要重啟該接口板,因此請提前規劃好40GE QSFP+端口的使用方式,避免IRF形成後重啟該接口板可能對IRF拓撲產生的影響。
· 在獨立運行模式下將IRF端口和IRF物理端口綁定,並不會影響IRF物理端口的當前業務。當設備切換到IRF模式後,IRF物理端口的配置將恢複到缺省狀態(即原有的業務配置會被刪除),IRF物理端口下隻能配置以下命令:
¡ 接口配置命令,包括shutdown、description、flow-interval、priority-flow-control 和priority-flow-control no-drop dot1p命令。有關這些命令的詳細介紹,請參見“接口管理命令參考”中的“以太網接口”。
¡ LLDP功能命令,包括lldp admin-status、lldp check-change-interval、lldp enable、lldp encapsulation snap、lldp notification remote-change enable和lldp tlv-enable。有關這些命令的詳細介紹,請參見“二層技術-以太網交換配置指導”中的“LLDP”。
¡ MAC配置命令,包括mac-address static source-check enable命令。為了保證跨成員設備的三層報文的正常轉發,請在每個IRF物理端口下配置undo mac-address static source-check enable命令。有關命令的詳細介紹,請參見“二層技術——以太網交換”中的“MAC地址表”。
¡ 將端口加入業務環回組,port service-loopback group命令,但配置後端口與IRF端口綁定的配置將被清除。當IRF端口隻綁定了一個物理端口時請勿進行此配置,以免IRF分裂。有關該命令的詳細介紹,請參見“二層技術-以太網交換命令參考”中的“業務環回組”。
暫無評論
可以用萬兆光模塊
建議用堆疊線
配置思路
· Device A處於局域網的彙聚層,為了將彙聚層的轉發能力提高一倍,需要另外增加一台設備Device B。
· 鑒於IRF技術具有管理簡便、網絡擴展能力強、可靠性高等優點,所以本例使用IRF技術構建網絡彙聚層(即在Device A和Device B上配置IRF功能),接入層設備通過聚合雙鏈路上行。
· 為了防止萬一IRF鏈路故障導致IRF分裂、網絡中存在兩個配置衝突的IRF,需要啟用MAD檢測功能。因為成員設備比較少,我們采用BFD MAD檢測方式來監測IRF的狀態。
4. 配置步驟
(1) 配置Device A
# 設置Device A的成員編號為1,創建IRF端口2,並將它與物理端口Ten-GigabitEthernet3/0/1綁定。
<Sysname> system-view
[Sysname] irf member 1
[Sysname] irf-port 2
[Sysname-irf-port2] port group interface ten-gigabitethernet 3/0/1
[Sysname-irf-port2] quit
# 將當前配置保存到下次啟動配置文件。
[Sysname] quit
<Sysname> save
# 將設備的運行模式切換到IRF模式。
<Sysname> system-view
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot.
You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
Do you want to convert the content of the next startup configuration file flash:
/startup.cfg to make it available in IRF mode? [Y/N]:y
Now rebooting, please wait...
設備重啟後Device A組成了隻有一台成員設備的IRF。
(2) 配置Device B
# 配置Device B的成員編號為2,創建IRF端口1,並將它與物理端口Ten-GigabitEthernet3/0/1綁定。
<Sysname> system-view
[Sysname] irf member 2
[Sysname] irf-port 1
[Sysname-irf-port1] port group interface ten-gigabitethernet 3/0/1
[Sysname-irf-port1] quit
# 將當前配置保存到下次啟動配置文件。
[Sysname] quit
<Sysname> save
# 參照圖1-18進行物理連線。
# 將設備的運行模式切換到IRF模式。
<Sysname> system-view
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot.
You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
Do you want to convert the content of the next startup configuration file flash:
/startup.cfg to make it available in IRF mode? [Y/N]:y
Now rebooting, please wait...
設備B重啟後與設備A形成IRF。
(3) 配置BFD MAD檢測
# 修改IRF鏈路down延遲上報時間為0。
<Sysname> system-view
[Sysname] irf link-delay 0
# 創建VLAN 3,並將Device A(成員編號為1)上的端口1/4/0/1和Device B(成員編號為2)上的端口2/4/0/1加入VLAN中。
[Sysname] vlan 3
[Sysname-vlan3] port gigabitethernet 1/4/0/1 gigabitethernet 2/4/0/1
[Sysname-vlan3] quit
# 創建VLAN接口3,並配置MAD IP地址。
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad bfd enable
[Sysname-Vlan-interface3] mad ip address 192.168.2.1 24 member 1
[Sysname-Vlan-interface3] mad ip address 192.168.2.2 24 member 2
[Sysname-Vlan-interface3] quit
# 因為BFD MAD和生成樹功能互斥,所以在GigabitEthernet1/4/0/1和GigabitEthernet2/4/0/1上關閉生成樹協議。
[Sysname] interface gigabitethernet 1/4/0/1
[Sysname-gigabitethernet-1/4/0/1] undo stp enable
[Sysname-gigabitethernet-1/4/0/1] quit
[Sysname] interface gigabitethernet 2/4/0/1
[Sysname-gigabitethernet-2/4/0/1] undo stp enable
暫無評論
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
暫無評論