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保留在没有任何通知或提示的情况下对资料内容进行修改的权利!