如題,兩台S10500涉及到物理位置調整,現有堆疊線纜長度不夠,想更換成光纖。另外irf-port的兩組成員接口,一組用專用堆疊線纜,一組用光模塊加光纖線纜是否可行?
(0)
最佳答案
您好,請知:
建議兩端都用一樣的。
以下是IRF的配置案例,請參考:
圖1-17 IRF典型配置組網圖(聚合接口配置LACP MAD)
· Device A提供的接入端口數目已經不能滿足網絡需求,需要另外增加一台設備Device B。(本文以兩台設備組成IRF為例,在實際組網中可以根據需要,將多台設備組成IRF,配置思路和配置步驟與本例類似)
· 鑒於第二代智能彈性架構IRF技術具有管理簡便、網絡擴展能力強、可靠性高等優點,所以本例使用IRF技術構建接入層(即在Device A和Device B上配置IRF功能)。
· 為了防止萬一IRF鏈路故障導致IRF分裂、網絡中存在兩個配置衝突的IRF,需要啟用MAD檢測功能。因為接入層設備較多,我們采用LACP MAD檢測。
配置思路如下:
(1) 在獨立運行模式下,完成IRF端口和參數的配置。
(2) 切換到IRF模式,在設備重啟過程中,連接IRF物理接口。設備啟動完成,IRF搭建成功。
(3) 配置MAD檢測。
如果您采用先將設備切換到IRF模式,再綁定IRF端口的方式搭建IRF。請在完成IRF端口等參數配置後,執行save命令保存當前配置,再執行irf-port-configuration active命令手工激活IRF端口的配置,才能形成IRF。
(1) 搭建IRF(Device A上的配置)
# 配置Device A的成員編號為1,創建IRF端口2,並將它與物理端口Ten-GigabitEthernet3/0/1綁定。
[Sysname] irf member 1
[Sysname] irf-port 2
[Sysname-irf-port2] port group interface ten-gigabitethernet 3/0/1
[Sysname-irf-port2] quit
# 將當前配置保存到下次啟動配置文件。
<Sysname> save
# 將設備的運行模式切換到IRF模式。
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot. Continue? [Y/N]:y
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) 搭建IRF(Device B上的配置)
# 配置Device B的成員編號為2,創建IRF端口1,並將它與物理端口Ten-GigabitEthernet3/0/1綁定。
[Sysname] irf member 2
[Sysname] irf-port 1
[Sysname-irf-port1] port group interface ten-gigabitethernet 3/0/1
[Sysname-irf-port1] quit
# 將當前配置保存到下次啟動配置文件。
<Sysname> save
# 將設備的運行模式切換到IRF模式。
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot. Continue? [Y/N]:y
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) 配置LACP MAD檢測(IRF上的配置)
# 設置IRF域編號為1。
[Sysname] irf domain 1
# 創建一個動態聚合接口,並開啟LACP MAD檢測功能。
[Sysname] interface bridge-aggregation 2
[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic
[Sysname-Bridge-Aggregation2] mad enable
You need to assign a domain ID (range: 0-4294967295)
[Current domain ID is: 1]:
The assigned domain ID is: 1
[Sysname-Bridge-Aggregation2] quit
# 在聚合接口中添加成員端口1/4/0/2和2/4/0/2,專用於Device A和Device B實現LACP MAD檢測。
[Sysname] interface gigabitethernet 1/4/0/2
[Sysname-GigabitEthernet1/4/0/2] port link-aggregation group 2
[Sysname-GigabitEthernet1/4/0/2] quit
[Sysname] interface gigabitethernet 2/4/0/2
[Sysname-GigabitEthernet2/4/0/2] port link-aggregation group 2
(4) 配置LACP MAD檢測(中間設備Device C上的配置)
如果中間設備是一個IRF係統,則必須通過配置確保其IRF域編號與被檢測的IRF係統不同。
Device C作為中間設備來轉發、處理LACP協議報文,協助Device A和Device B進行多Active檢測。從節約成本的角度考慮,使用一台支持LACP協議擴展功能的交換機即可。
# 創建一個動態聚合接口。
[Sysname] interface bridge-aggregation 2
[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic
[Sysname-Bridge-Aggregation2] quit
# 在聚合接口中添加成員端口GigabitEthernet4/0/1和GigabitEthernet4/0/2,用於幫助LACP MAD檢測。
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] port link-aggregation group 2
[Sysname-GigabitEthernet4/0/1] quit
[Sysname] interface gigabitethernet 4/0/2
[Sysname-GigabitEthernet4/0/2] port link-aggregation group 2
(0)
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
暫無評論