05-H3C無線IRF部署手冊
本章節下載: 05-H3C無線IRF部署手冊 (385.62 KB)
無線IRF的核心思想是將兩台AC設備以星型拓撲連接在一起,進行必要的配置後,虛擬化成一台分布式設備。實現多台設備的協同工作、統一管理和不間斷維護。
由於IRF對外呈現為單台設備,組網相對簡單,並且在配置方麵也可以進行統一維護,因此推薦在複雜網絡環境中,使用無線IRF技術替代雙鏈路備份技術,將複雜網絡簡單化,同時降低維護成本。
· 主用設備(Master):負責管理和控製整個IRF。
· 從屬設備(Standby):處理業務、轉發報文的同時作為主用設備的備份設備運行。當主用設備故障時,係統會自動從從屬設備中選舉一個新的主用設備接替原主用設備工作。
在運行過程中,IRF使用成員編號來標識成員設備,以便對其進行管理。例如,IRF使用設備的成員編號來表示設備的IRF端口的編號。所以,在IRF中必須保證所有設備成員編號的唯一性。
如果建立IRF時存在編號相同的成員設備,則不能建立IRF;如果新設備加入IRF,但是該設備與已有成員設備的編號衝突,則該設備不能加入IRF。在建立IRF前,請統一規劃各成員設備的編號,並逐一進行手工配置,以保證各設備成員編號的唯一性。
成員優先級是成員設備的一個屬性,主要用於角色選舉過程中確定成員設備的角色。優先級越高當選為主用設備的可能性越大。
一種專用於IRF成員設備之間進行連接的邏輯接口,每台成員設備上隻有一個IRF端口,稱為IRF Port。它需要和物理端口綁定之後才能生效。
與IRF端口綁定,用於IRF成員設備之間進行連接的物理接口。
IRF拓撲域是一個邏輯概念,用於區分不同的IRF。一個IRF對應一個IRF拓撲域。
同一個網絡裏可以部署多個IRF,IRF之間使用拓撲域編號(Topo-DomainID)來以示區別。拓撲域編號相同的設備才能加入同一個IRF。如圖1-1所示,Device A和Device B組成IRF1,Device C和Device D組成IRF2。這種情況下,需要給兩個IRF配置不同的拓撲域編號,以便兩個IRF互不幹擾。
圖1-1 多IRF拓撲域示意圖
· 合並:兩個IRF各自已經穩定運行,通過物理連接和必要的配置,形成一個IRF,這個過程稱為IRF合並。
· 分裂:一個IRF形成後,由於IRF鏈路故障,導致IRF中兩相鄰成員設備不連通,一個IRF變成兩個IRF,這個過程稱為IRF分裂。
IRF使用主用設備上的配置運行,並通過批量同步和實時同步機製來保證其它成員設備和主用設備的配置一致。
無線IRF采用LACP MAD檢測機製來進行IRF衝突檢測。
LACP MAD檢測通過成員設備發出的LACP協議報文和其它成員設備交互MADDomainID(檢測域編號)和ActiveID(主設備的成員編號)信息來判斷該設備是否為同一IRF域內設備,是否發生IRF分裂及衝突。
IRF具有自動加載功能。在進行IRF擴展增加新成員設備時,並不需要新加入的成員設備與原有虛擬設備具有相同軟件版本,隻要具有兼容的版本既可。新設備加入IRF時,會與Master的軟件版本號進行比較,如果不一致,則自動從Master上下載係統啟動文件,然後使用新的啟動文件重啟,重新加入IRF。如果產品不支持該功能,則需要用戶手工配置確保新加入的成員設備與原有虛擬設備版本一致後,新設備才能加入IRF。
在IRF中,所有成員設備上的資源歸該虛擬設備IRF擁有並由主用設備統一管理。
圖1-2 IRF組網方式
不同的國家和地區使用的產品型號不同,具體型號請聯係當地的H3C代理商或者工程師。
設備對於IRF特性的支持情況請參見下表:
產品係列 |
產品型號 |
產品代碼 |
說明 |
WX1800H係列 |
WX1804H |
EWP-WX1804H-PWR-CN |
R5426P01不支持 |
WX2500H係列 |
WX2508H-PWR-LTE WX2510H WX2510H-F WX2540H WX2540H-F WX2560H |
EWP-WX2508H-PWR-LTE EWP-WX2510H-PWR EWP-WX2510H-F-PWR EWP-WX2540H EWP-WX2540H-F EWP-WX2560H |
R5426P01不支持 |
WX3000H係列 |
WX3010H WX3010H-X WX3010H-L WX3024H WX3024H-L WX3024H-F |
EWP-WX3010H EWP-WX3010H-X-PWR EWP-WX3010H-L-PWR EWP-WX3024H EWP-WX3024H-L-PWR EWP-WX3024H-F |
R5426P01不支持 |
WX3500H係列 |
WX3508H WX3510H WX3520H WX3520H-F WX3540H |
EWP-WX3508H EWP-WX3510H EWP-WX3520H EWP-WX3520H-F EWP-WX3540H |
R5426P01支持 |
WX5500E係列 |
WX5510E WX5540E |
EWP-WX5510E EWP-WX5540E |
R5426P01支持 |
WX5500H係列 |
WX5540H WX5560H WX5580H |
EWP-WX5540H EWP-WX5560H EWP-WX5580H |
R5426P01支持 |
AC插卡係列 |
LSUM1WCME0 EWPXM1WCME0 LSQM1WCMX20 LSUM1WCMX20RT LSQM1WCMX40 LSUM1WCMX40RT EWPXM2WCMD0F EWPXM1MAC0F |
LSUM1WCME0 EWPXM1WCME0 LSQM1WCMX20 LSUM1WCMX20RT LSQM1WCMX40 LSUM1WCMX40RT EWPXM2WCMD0F EWPXM1MAC0F |
R5426P01支持 |
WX1800H係列 |
WX1804H WX1810H WX1820H WX1840H |
EWP-WX1804H-PWR EWP-WX1810H-PWR EWP-WX1820H EWP-WX1840H-GL |
R5426P01不支持 |
WX3800H係列 |
WX3820H WX3840H |
EWP-WX3820H-GL EWP-WX3840H-GL |
R5426P01支持 |
WX5800H係列 |
WX5860H |
EWP-WX5860H-GL |
R5426P01支持 |
WX2500H-WiNet係列 |
WX2510H-WiNet WX2560H-WiNet |
EWP-WX2510H-PWR-WiNet EWP-WX2560H-WiNet |
R5426P01不支持 |
WX3500H-WiNet係列 |
WX3508H-WiNet |
EWP-WX3508H-WiNet |
R5426P01支持 |
WX2500H-LI係列 |
WX2540H-LI |
EWP-WX2540H-L |
R5426P01不支持 |
WAC係列 |
WAC380-30 WAC380-60 WAC380-90 WAC380-120 WAC381 |
EWP-WAC380-30 EWP-WAC380-60 EWP-WAC380-90 EWP-WAC380-120 EWP-WAC381 |
R5426P01不支持 |
在IRF中,所有License彙總使用,即安裝在成員設備的所有License進行累加,並在所有成員設備中共享使用,這給用戶規劃和使用網絡帶來極大的方便。
當IRF分裂後,分裂出的AC共享所有License,授權有效期為30天,有效期過後AC隻享有本身原先擁有的License。
AC 1與AC 2通過直連鏈路建立IRF,IRF與交換機Switch之間建立動態聚合鏈路,用於LACP MAD檢測和業務報文轉發。
# 創建二層聚合接口1,並配置該聚合接口對應的聚合組工作在動態聚合模式下。
<Switch> system-view
[Switch] interface bridge-aggregation 1
[Switch-Bridge-Aggregation1] link-aggregation mode dynamic
[Switch-Bridge-Aggregation1] quit
# 將端口GigabitEthernet1/0/1加入到聚合組1中。
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-aggregation group 1
[Switch-GigabitEthernet1/0/1] quit
# 將端口GigabitEthernet1/0/2加入到聚合組1中。
[Switch] interface gigabitethernet 1/0/2
[Switch-GigabitEthernet1/0/2] port link-aggregation group 1
[Switch-GigabitEthernet1/0/2] quit
# 開啟聚合流量重定向功能,實現聚合鏈路上流量的不中斷。
[Switch] link-aggregation lacp traffic-redirect-notification enable
(1) 配置IRF端口
# 創建IRF端口1,並將端口Ten-GigabitEthernet1/0/25加入到IRF端口1。
<AC1> system-view
[AC1] irf-port 1
[AC1-irf-port1] port group interface ten-gigabitethernet 1/0/25
[AC1-irf-port1] quit
(2) 配置成員優先級
# 配置AC 1的優先級為2,用於保證AC 1可競選為主用設備。
[AC1] irf member 1 priority 2
(3) 激活IRF端口
# 保存配置並激活IRF端口配置。
[AC1] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[AC1] irf-port-configuration active
(1) 配置成員編號
# 配置AC 2的成員編號為2,並重啟設備使其生效。
<AC2> system-view
[AC2] irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue?[
Y/N]:y
[AC2] quit
<AC2> reboot
Start to check configuration with next startup configuration file, please wait..
.......DONE!
Current configuration may be lost after the reboot, save current configuration?
[Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
cfa0:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
(2) 配置IRF端口
# 創建IRF端口2,並將端口Ten-GigabitEthernet2/0/25加入到IRF端口2。
<AC2> system-view
[AC2] irf-port 2
[AC2-irf-port2] port group interface ten-gigabitethernet 2/0/25
[AC2-irf-port2] quit
(3) 激活IRF端口
# 保存配置並激活IRF端口配置。
[AC2] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[AC2] irf-port-configuration active
System is starting...
完成以上配置後,AC 2會競選成為備設備,和AC 1組成IRF。
# 將係統的名稱設置為IRF以示區別。
<AC1> system-view
[AC1] system-name IRF
# 配置成員設備1的描述信息為AC 1,成員設備2的描述信息為AC 2。
[IRF] irf member 1 description AC 1
[IRF] irf member 2 description AC 2
# 創建二層聚合接口1,並配置該聚合接口對應的聚合組工作在動態聚合模式下。
[IRF] interface bridge-aggregation 1
[IRF-Bridge-Aggregation1] link-aggregation mode dynamic
# 開啟LACP MAD檢測功能。
[IRF-Bridge-Aggregation1] mad enable
[IRF-Bridge-Aggregation1] quit
# 開啟聚合流量重定向功能,實現聚合鏈路上流量的不中斷。
[IRF] link-aggregation lacp traffic-redirect-notification enable
# 將端口GigabitEthernet1/0/1加入到聚合組1中。
[IRF] interface gigabitethernet 1/0/1
[IRF-GigabitEthernet1/0/1] port link-aggregation group 1
[IRF-GigabitEthernet1/0/1] quit
# 將端口GigabitEthernet2/0/1加入到聚合組1中。
[IRF] interface gigabitethernet 2/0/1
[IRF-GigabitEthernet2/0/1] port link-aggregation group 1
[IRF-GigabitEthernet2/0/1] quit
(1) IRF建立好後可在IRF上使用命令display irf查看IRF信息。AC 1的優先級高於AC 2,所以AC 1為主用設備。
[IRF] display irf
Member ID Role Priority CPU MAC Description
*1 Master 2 50da-0051-2608 AC 1
+2 Standby 1 50da-0051-2670 AC 2
--------------------------------------------------
The asterisk (*) indicates the master.
The plus sign (+) indicates the device through which you are logged in.
The right angle bracket (>) indicates the device's stack capability is disabled.
Bridge MAC of the IRF: 50da-0051-2608
Auto upgrade : Enabled
MAC persistence : 6 min
Topo-domain ID : 0
Auto merge : Enabled
(2) IRF建立好後可在IRF上使用命令display irf link查看IRF鏈路狀態信息,IRF端口都為Up狀態。
[IRF] display irf link
Member ID Member Interfaces Status
1 XGE1/0/25(ctrl&data) Up
2 XGE2/0/25(ctrl&data) Up
(3) 在IRF上使用命令display link-aggregation verbose查看聚合組1的詳細信息。兩個成員端口都處於聚合組1中且為選中狀態。
[IRF] display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Aggregation Mode: Dynamic
Loadsharing Type: Shar
System ID: 0x8000, 50da-0051-2608
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
GE1/0/1 S 32768 1 {ACDEF}
GE2/0/1 S 32768 1 {ACDEF}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
GE1/0/1 1 32768 1 0x8000, 3897-d633-f3c6 {ACDEF}
GE2/0/1 2 32768 1 0x8000, 3897-d633-f3c6 {ACDEF}
(4) 在Switch上使用命令display link-aggregation verbose查看聚合組1的詳細信息。2個成員端口都處於聚合組1中且為選中狀態。
[Switch] display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected,
I -- Individual, * -- Management port
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Aggregation Mode: Dynamic
Loadsharing Type: Shar
Management VLAN : None
System ID: 0x8000, 3897-d633-f3c6
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
GE1/0/1 S 32768 1 {ACDEF}
GE1/0/2 S 32768 1 {ACDEF}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
GE1/0/1 2 32768 1 0x8000, 50da-0051-2608 {ACDEF}
GE1/0/2 31 32768 1 0x8000, 50da-0051-2608 {ACDEF}
AC 1與AC 2的IRF物理端口跟外麵交換機相連,借助交換機的二層網絡進行IRF相連。IRF與交換機Switch之間建立動態聚合鏈路,用於LACP MAD檢測和業務報文轉發;而IRF對外連接端口,采用跨交換機聚合的方式跟交換機進行連接。IRF鏈路和跨交換機聚合的網絡,在交換機和IRF上,均使用VLAN 400進行隔離。
圖2-2 跨交換機連接IRF
(1) 配置Switch與IRF端口相連的鏈路
# 創建VLAN 400,並將Switch上與IRF端口連接的物理端口加入到該VLAN中,用於傳輸IRF報文。
<Switch> system-view
[Switch] vlan 400
[Switch-vlan400] port ten-gigabitethernet 1/0/25
[Switch-vlan400] port ten-gigabitethernet 1/0/26
[Switch-vlan400] quit
# 在端口Ten-GigabitEthernet1/0/25和Ten-GigabitEthernet1/0/26上關閉生成樹協議。
[Switch] interface ten-gigabitethernet 1/0/25
[Switch-Ten-GigabitEthernet1/0/25] undo stp enable
[Switch-Ten-GigabitEthernet1/0/25] quit
[Switch] interface ten-gigabitethernet 1/0/26
[Switch-Ten-GigabitEthernet1/0/26] undo stp enable
[Switch-Ten-GigabitEthernet1/0/26] quit
(2) 配置Switch與IRF間的業務報文和LACP MAD檢測報文轉發鏈路
# 創建二層聚合接口1,並配置該聚合接口對應的聚合組工作在動態聚合模式下。
[Switch] interface bridge-aggregation 1
[Switch-Bridge-Aggregation1] link-aggregation mode dynamic
[Switch-Bridge-Aggregation1] quit
# 將端口GigabitEthernet1/0/1加入到聚合組1中。
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-aggregation group 1
[Switch-GigabitEthernet1/0/1] quit
# 將端口GigabitEthernet1/0/2加入到聚合組1中。
[Switch] interface gigabitethernet 1/0/2
[Switch-GigabitEthernet1/0/2] port link-aggregation group 1
[Switch-GigabitEthernet1/0/2] quit
(3) 開啟聚合流量重定向功能,實現聚合鏈路上流量的不中斷。
[Switch] link-aggregation lacp traffic-redirect-notification enable
(1) 配置IRF端口
# 創建IRF端口1,並將端口Ten-GigabitEthernet1/0/25加入到IRF端口1。
<AC1> system-view
[AC1] irf-port 1
[AC1-irf-port1] port group interface ten-gigabitethernet 1/0/25
[AC1-irf-port1] quit
(2) 配置成員優先級
# 配置AC 1的優先級為2,用於保證AC 1可競選為主用設備。
[AC1] irf member 1 priority 2
(3) 激活IRF端口
# 保存配置並激活IRF端口配置。
[AC1] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[AC1] irf-port-configuration active
(1) 配置成員編號
# 配置AC 2的成員編號為2,並重啟設備使其生效。
<AC2> system-view
[AC2] irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue?[
Y/N]:y
[AC2] quit
<AC2> reboot
Start to check configuration with next startup configuration file, please wait..
.......DONE!
Current configuration may be lost after the reboot, save current configuration?
[Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
cfa0:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
(2) 配置IRF端口
# 創建IRF端口2,並將端口Ten-GigabitEthernet2/0/25加入到IRF端口2。
<AC2> system-view
[AC2] irf-port 2
[AC2-irf-port2] port group interface ten-gigabitethernet 2/0/25
[AC2-irf-port2] quit
(3) 激活IRF端口
# 保存配置並激活IRF端口配置。
[AC2] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[AC2] irf-port-configuration active
完成以上配置後,AC 2會競選成為備設備,和AC 1組成IRF。
# 將係統的名稱設置為IRF以示區別。
<AC1> system-view
[AC1] system-name IRF
# 配置成員設備1的描述信息為AC 1,成員設備2的描述信息為AC 2。
[IRF] irf member 1 description AC 1
[IRF] irf member 2 description AC 2
# 創建二層聚合接口1,並配置該聚合接口對應的聚合組工作在動態聚合模式下。
[IRF] interface bridge-aggregation 1
[IRF-Bridge-Aggregation1] link-aggregation mode dynamic
# 開啟LACP MAD檢測功能。
[IRF-Bridge-Aggregation1] mad enable
[IRF-Bridge-Aggregation1] quit
# 開啟聚合流量重定向功能,實現聚合鏈路上流量的不中斷。
[IRF] link-aggregation lacp traffic-redirect-notification enable
# 將端口GigabitEthernet1/0/1加入到聚合組1中。
[IRF] interface gigabitethernet 1/0/1
[IRF-GigabitEthernet1/0/1] port link-aggregation group 1
[IRF-GigabitEthernet1/0/1] quit
# 將端口GigabitEthernet2/0/1加入到聚合組1中。
[IRF] interface gigabitEthernet 2/0/1
[IRF-GigabitEthernet2/0/1] port link-aggregation group 1
[IRF-GigabitEthernet2/0/1] quit
(1) IRF建立好後可在IRF上使用命令display irf查看IRF信息。AC 1的優先級高於AC 2,所以AC 1為主用設備。
[IRF] display irf
Member ID Role Priority CPU MAC Description
*1 Master 2 50da-0051-2608 AC 1
+2 Standby 1 50da-0051-2670 AC 2
--------------------------------------------------
The asterisk (*) indicates the master.
The plus sign (+) indicates the device through which you are logged in.
The right angle bracket (>) indicates the device's stack capability is disabled.
Bridge MAC of the IRF: 50da-0051-2608
Auto upgrade : Enabled
MAC persistence : 6 min
Topo-domain ID : 0
Auto merge : Enabled
(2) IRF建立好後可在IRF上使用命令display irf link查看IRF鏈路狀態信息,IRF端口都為Up狀態。
[IRF] display irf link
Member ID Member Interfaces Status
1 XGE1/0/25(ctrl&data) Up
2 XGE2/0/25(ctrl&data) Up
(3) 在IRF上使用命令display link-aggregation verbose查看聚合組1的詳細信息。兩個成員端口都處於聚合組1中且為選中狀態。
[IRF] display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Aggregation Mode: Dynamic
Loadsharing Type: Shar
System ID: 0x8000, 50da-0051-2608
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
GE1/0/1 S 32768 1 {ACDEF}
GE2/0/1 S 32768 1 {ACDEF}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
GE1/0/1 1 32768 1 0x8000, 3897-d633-f3c6 {ACDEF}
GE2/0/1 2 32768 1 0x8000, 3897-d633-f3c6 {ACDEF}
(4) 在Switch上使用命令display link-aggregation verbose查看聚合組1的詳細信息。2個成員端口都處於聚合組1中且為選中狀態。
[Switch] display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected,
I -- Individual, * -- Management port
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Aggregation Mode: Dynamic
Loadsharing Type: Shar
Management VLAN : None
System ID: 0x8000, 3897-d633-f3c6
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
GE1/0/1 S 32768 1 {ACDEF}
GE1/0/2 S 32768 1 {ACDEF}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
GE1/0/1 2 32768 1 0x8000, 50da-0051-2608 {ACDEF}
GE1/0/2 31 32768 1 0x8000, 50da-0051-2608 {ACDEF}
無線插卡IRF分為同框IRF和跨框IRF兩種模式。無線AC插卡插入機框中時,插卡跟機框背板是經過內部口聯通的。兩塊無線插卡的IRF鏈接是通過機框的背板網絡相連,而對外也是采用跨交換機聚合方式跟機框相連,且IRF鏈路和跨交換機聚合的網絡均使用VLAN 400進行隔離。
圖2-4 無線插卡跨框IRF
(1) 配置Switch與IRF端口相連的鏈路
# 創建二層聚合接口1,用於聚合與AC 1的IRF端口相連的鏈路。
<Switch> system-view
[Switch] interface bridge-aggregation 1
[Switch-Bridge-Aggregation1] quit
# 將Switch內聯口Ten-GigabitEthernet2/2/0/1加入到聚合組1中。
[Switch] interface ten-gigabitethernet 2/2/0/1
[Switch-Ten-GigabitEthernet2/2/0/1] port link-aggregation group 1
[Switch-Ten-GigabitEthernet2/2/0/1] quit
# 將Switch內聯口Ten-GigabitEthernet2/2/0/3加入到聚合組1中。
[Switch] interface ten-gigabitethernet 2/2/0/3
[Switch-Ten-GigabitEthernet2/2/0/3] port link-aggregation group 1
[Switch-Ten-GigabitEthernet2/2/0/3] quit
# 創建二層聚合接口2,用於聚合與AC 2的IRF端口相連的鏈路。
[Switch] interface bridge-aggregation 2
[Switch-Bridge-Aggregation2] quit
# 將Switch內聯口Ten-GigabitEthernet2/5/0/1加入到聚合組2中。
[Switch] interface ten-gigabitethernet 2/5/0/1
[Switch-Ten-GigabitEthernet2/5/0/1] port link-aggregation group 2
[Switch-Ten-GigabitEthernet2/5/0/1] quit
# 將Switch內聯口Ten-GigabitEthernet2/5/0/3加入到聚合組2中。
[Switch]interface ten-gigabitethernet 2/5/0/3
[Switch-Ten-GigabitEthernet2/5/0/3] port link-aggregation group 2
[Switch-Ten-GigabitEthernet2/5/0/3] quit
# 創建VLAN 400,並將Switch上與IRF端口連接的物理端口加入到該VLAN中,用於傳輸IRF報文。
[Switch] vlan 400
[Switch-vlan400] port bridge-aggregation 1
[Switch-vlan400] port bridge-aggregation 2
[Switch-vlan400] quit
# 在聚合口1和聚合口2上關閉生成樹協議。
[Switch] interface bridge-aggregation 1
[Switch-Bridge-Aggregation1] undo stp enable
[Switch-Bridge-Aggregation1] quit
[Switch] interface bridge-aggregation 2
[Switch-Bridge-Aggregation2] undo stp enable
[Switch-Bridge-Aggregation2] quit
(2) 配置Switch與IRF間的業務報文和LACP MAD檢測報文轉發鏈路
# 創建二層聚合接口3,並配置該聚合接口對應的聚合組工作在動態聚合模式下。
[Switch] interface bridge-aggregation 3
[Switch-Bridge-Aggregation3] link-aggregation mode dynamic
[Switch-Bridge-Aggregation3] quit
# 將Switch內聯口Ten-GigabitEthernet2/2/0/2加入到聚合組3中。
[Switch] interface ten-gigabitethernet 2/2/0/2
[Switch-Ten-GigabitEthernet2/2/0/2] port link-aggregation group 3
[Switch-Ten-GigabitEthernet2/2/0/2] quit
# 將Switch內聯口Ten-GigabitEthernet2/2/0/4加入到聚合組3中。
[Switch] interface ten-gigabitethernet 2/2/0/4
[Switch-Ten-GigabitEthernet2/2/0/4] port link-aggregation group 3
[Switch-Ten-GigabitEthernet2/2/0/4] quit
# 將Switch內聯口Ten-GigabitEthernet2/5/0/2加入到聚合組3中。
[Switch] interface ten-gigabitethernet 2/5/0/2
[Switch-Ten-GigabitEthernet2/5/0/2] port link-aggregation group 3
[Switch-Ten-GigabitEthernet2/5/0/2] quit
# 將Switch內聯口Ten-GigabitEthernet2/5/0/4加入到聚合組3中。
[Switch] interface ten-gigabitethernet 2/5/0/4
[Switch-Ten-GigabitEthernet2/5/0/4] port link-aggregation group 3
[Switch-Ten-GigabitEthernet2/5/0/4] quit
(3) 開啟聚合流量重定向功能,實現聚合鏈路上流量的不中斷。
[Switch] link-aggregation lacp traffic-redirect-notification enable
(1) 配置IRF端口
# 創建IRF端口1,並將內聯口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/3加入到IRF端口1。
<AC1> system-view
[AC1] irf-port 1
[AC1-irf-port1] port group interface ten-gigabitethernet 1/0/1
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the \"irf-port-configuration active\" command to activate the IRF ports.
[AC1-irf-port1] port group interface ten-gigabitethernet 1/0/3
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the \"irf-port-configuration active\" command to activate the IRF ports.
[AC1-irf-port1] quit
(2) 配置成員優先級
# 配置AC 1的優先級為2,用於保證AC 1可競選為主用設備。
[AC1] irf member 1 priority 2
(3) 激活IRF端口
# 保存配置並激活IRF端口配置。
[AC1] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):irf.cfg
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[AC1] irf-port-configuration active
(1) 配置成員編號
# 配置AC 2的成員編號為2,並重啟設備使其生效。
<AC2> system-view
[AC2] irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue?[
Y/N]:y
[AC2] quit
<AC2> reboot
Start to check configuration with next startup configuration file, please wait..
.......DONE!
Current configuration may be lost after the reboot, save current configuration?
[Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):irf.cfg
cfa0:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
(2) 配置IRF端口
# 創建IRF端口2,並將內聯口Ten-GigabitEthernet2/0/1和Ten-GigabitEthernet2/0/3加入到IRF端口2。
<AC2> system-view
[AC2] irf-port 2
[AC2-irf-port2] port group interface ten-gigabitethernet 2/0/1
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the \"irf-port-configuration active\" command to activate the IRF ports.
[AC2-irf-port2] port group interface ten-gigabitethernet 2/0/3
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the \"irf-port-configuration active\" command to activate the IRF ports.
[AC2-irf-port2] quit
(3) 激活IRF端口
# 保存配置並激活IRF端口配置。
[AC2] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/ irf.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[AC2] irf-port-configuration active
完成以上配置後,AC 2會競選成為備設備,和AC 1組成IRF。
# 將係統的名稱設置為IRF以示區別。
<AC1> system-view
[AC1] system-name IRF
# 配置成員設備1的描述信息為AC 1,成員設備2的描述信息為AC 2。
[IRF] irf member 1 description AC 1
[IRF] irf member 2 description AC 2
# 刪除默認聚合接口1。
[IRF] undo interface bridge-aggregation 1
# 創建二層聚合接口3,並配置該聚合接口對應的聚合組工作在動態聚合模式下。
[IRF] interface bridge-aggregation 3
[IRF-Bridge-Aggregation3] link-aggregation mode dynamic
# 開啟LACP MAD檢測功能。
[IRF-Bridge-Aggregation3] mad enable
[IRF-Bridge-Aggregation3] quit
# 開啟聚合流量重定向功能,實現聚合鏈路上流量的不中斷。
[IRF] link-aggregation lacp traffic-redirect-notification enable
# 將內聯口Ten-GigabitEthernet1/0/2加入到聚合組3中。
[IRF] interface ten-gigabitethernet 1/0/2
[IRF-Ten-GigabitEthernet1/0/2] port link-aggregation group 3
[IRF-Ten-GigabitEthernet1/0/2] quit
# 將內聯口Ten-GigabitEthernet1/0/4加入到聚合組3中。
[IRF] interface ten-gigabitethernet 1/0/4
[IRF-Ten-GigabitEthernet1/0/4] port link-aggregation group 3
[IRF-Ten-GigabitEthernet1/0/4] quit
# 將內聯口Ten-GigabitEthernet2/0/2加入到聚合組3中。
[IRF] interface ten-gigabitethernet 2/0/2
[IRF-Ten-GigabitEthernet2/0/2] port link-aggregation group 3
[IRF-Ten-GigabitEthernet2/0/2] quit
# 將內聯口Ten-GigabitEthernet2/0/4加入到聚合組3中。
[IRF] interface ten-gigabitethernet 2/0/4
[IRF-Ten-GigabitEthernet2/0/4] port link-aggregation group 3
[IRF-Ten-GigabitEthernet2/0/4] quit
(1) IRF建立好後可在IRF上使用命令display irf查看IRF信息。AC 1的優先級高於AC 2,所以AC 1為主用設備。
[IRF] display irf
Member ID Role Priority CPU MAC Description
*+1 Master 2 50da-005b-8b98 AC 1
2 Standby 1 70f9-6d17-2e37 AC 2
--------------------------------------------------
The asterisk (*) indicates the master.
The plus sign (+) indicates the device through which you are logged in.
The right angle bracket (>) indicates the device's stack capability is disabled.
Bridge MAC of the IRF: 50da-005b-8b98
Auto upgrade : Enabled
MAC persistence : 6 min
Topo-domain ID : 0
Auto merge : Enabled
(2) IRF建立好後可在IRF上使用命令display irf link查看IRF鏈路狀態信息,IRF端口都為Up狀態。
[IRF] display irf link
Member ID Member Interfaces Status
1 XGE1/0/1(ctrl&data) Up
XGE1/0/3(ctrl&data) Up
2 XGE2/0/1(ctrl&data) Up
XGE2/0/3(ctrl&data) Up
(3) 在IRF上使用命令display link-aggregation verbose查看聚合組3的詳細信息。4個成員端口都處於聚合組3中且為選中狀態。
[IRF] display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation3
Aggregation Mode: Dynamic
Loadsharing Type: NonS
System ID: 0x8000, 50da-005b-8b98
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
XGE1/0/2 S 32768 1 {ACDEF}
XGE1/0/4 S 32768 1 {ACDEF}
XGE2/0/2 S 32768 1 {ACDEF}
XGE2/0/4 S 32768 1 {ACDEF}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
XGE1/0/2 1943 32768 3 0x8000, 741f-4a56-9890 {ACDEF}
XGE1/0/4 1944 32768 3 0x8000, 741f-4a56-9890 {ACDEF}
XGE2/0/2 2234 32768 3 0x8000, 741f-4a56-9890 {ACDEF}
XGE2/0/4 2235 32768 3 0x8000, 741f-4a56-9890 {ACDEF}
(4) 在Switch上使用命令display link-aggregation verbose查看聚合組的詳細信息,發現3個聚合口裏麵的聚合成員口都處於選中狀態。動態聚合組3中有4個成員端口且為選中狀態,聚合組1中有2個成員端口且為選中狀態,聚合組2中有2個成員端口且為選中狀態。
[Switch]display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Aggregation Mode: Static
Loadsharing Type: Shar
Port Status Priority Oper-Key
--------------------------------------------------------------------------------
XGE2/2/0/1 S 32768 1
XGE2/2/0/3 S 32768 1
Aggregate Interface: Bridge-Aggregation2
Aggregation Mode: Static
Loadsharing Type: Shar
Port Status Priority Oper-Key
--------------------------------------------------------------------------------
XGE2/5/0/1 S 32768 2
XGE2/5/0/3 S 32768 2
Aggregate Interface: Bridge-Aggregation3
Aggregation Mode: Dynamic
Loadsharing Type: Shar
System ID: 0x8000, 741f-4a56-9890
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
XGE2/2/0/2 S 32768 3 {ACDEF}
XGE2/2/0/4 S 32768 3 {ACDEF}
XGE2/5/0/2 S 32768 3 {ACDEF}
XGE2/5/0/4 S 32768 3 {ACDEF}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
XGE2/2/0/2 5 32768 1 0x8000, 50da-005b-8b98 {ACDEF}
XGE2/2/0/4 6 32768 1 0x8000, 50da-005b-8b98 {ACDEF}
XGE2/5/0/2 11 32768 1 0x8000, 50da-005b-8b98 {ACDEF}
XGE2/5/0/4 12 32768 1 0x8000, 50da-005b-8b98 {ACDEF}
一個IRF中允許加入的成員設備的數量存在上限。如果超過上限,則不允許新的成員設備加入。目前產品僅支持兩台設備做IRF。
IRF中所有成員設備的軟件版本必須相同,如果有軟件版本不同的設備要加入IRF,請確保IRF的啟動文件同步加載功能處於開啟狀態。
如果兩個IRF的橋MAC地址相同,請使用irf mac-address命令修改其中一個IRF的橋MAC地址,否則,它們不能合並為一個IRF。
在IRF分裂後,為了保證AP可以快速重連AC,請使用irf mac-address persistent always命令配置IRF的橋MAC地址的保留時間為永久。
需要。
星型IRF組網環境中,兩台設備可以直連,也可以使用中間交換設備,需要根據用戶實際現場環境決定,沒有針對特殊場合要求必須使用中間交換設備。
IRF拓撲域編號是一個全局變量,IRF中的所有成員設備都共用這個IRF拓撲域編號。隻有同一個拓撲域中的設備才能形成一個IRF。
· 設備不允許使用shutdown命令關閉備設備上最後一個處於up狀態的控製通道所在的物理接口,如果確實需要關閉該IRF鏈路,可以在主用設備的對應接口下執行shutdown命令。
· 在星型IRF組網環境中,業務板跨交換機聚合時,交換機側的鏈路聚合,不能配置為per-packet方式。
· 當兩台設備間存在多條正常運行的IRF物理鏈路時,必須先對端口進行shutdown操作,才能刪除某條IRF物理鏈路。
· 《H3C無線控製器產品 配置指導》中的“網絡互通配置指導”。
· 《H3C無線控製器產品 命令參考》中的“網絡互通命令參考”。
· 《H3C無線控製器產品 配置指導》中的“IRF配置指導”。
· 《H3C無線控製器產品 命令參考》中的“IRF命令參考”。
· 《H3C無線控製器典型配置案例集(V7)》中的“H3C無線控製器雙機直連IRF典型配置舉例(V7)”。
· 《H3C無線控製器典型配置案例集(V7)》中的“H3C無線控製器雙機跨交換IRF典型配置舉例(V7)”。
· 《H3C無線控製器典型配置案例集(V7)》中的“H3C無線控製器業務板同框IRF典型配置舉例(V7)”。
· 《H3C無線控製器典型配置案例集(V7)-6W106》中的“H3C無線控製器業務板跨框IRF典型配置舉例(V7)”。
不同款型規格的資料略有差異, 詳細信息請向具體銷售和400谘詢。H3C保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!