4.3 H3C无线:H3C无线控制器双机直连IRF 典型配置举例(V7)

4.3 H3C无线:H3C无线控制器双机直连IRF 典型配置举例(V7)

1  简介
IRF 是H3C 自主研发的网络设备虚拟化技术,可以为用户提供高密度接入能力、高性能转发能力、
以及 1:N 设备级备份能力的网络汇聚或核心层解决方案。本文介绍了两台 AC 通过直连组成 IRF
的典型配置案例。
2  配置前提
本文档适用于使用Comware V7 软件版本的无线控制器和接入点产品,不严格与具体硬件版本对应,
如果使用过程中与产品实际情况有差异,请参考相关产品手册,或以设备实际情况为准。
本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺
省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置
不冲突。
本文档假设您已了解IRF 和以太网链路聚合等相关特性。
3  配置举例
3.1  组网需求
如图1 所示,AC 1 与AC 2 通过直连链路建立IRF,IRF 与交换机Switch 之间建立动态聚合链路,
用于LACP MAD 检测和业务报文转发。
图1 双机直连IRF 组网图
H3C 无线控制器双机直连IRF 典型配置举例(V7)   (图1)

3.2  配置注意事项
1. 组建IRF 时的注意事项
•  一个IRF 中允许加入的成员设备的数量存在上限。如果超过上限,则不允许新的成员设备加
入。
•  IRF 中所有成员设备的软件版本必须相同,如果有软件版本不同的设备要加入IRF,请 确 保IRF
的启动文件同步加载功能处于开启状态。
•  如果两个IRF 的桥MAC 地址相同,请修改其中一个IRF 的桥MAC 地址,否则,它们不能合
并为一个IRF。
•  在IRF 分裂后,以及再次合并前,请确保各成员设备上IRF 的相关配置和分裂前的保持一致。
•  IRF 组网环境中,两台设备可以直连,也可以使用中间交换设备,多于两台设备的组网,中间
必须使用交换设备。
•  配置成员编号时,必 须保证各成员AC 设备的成员编号唯一,且需重启该设备后配置才可生效。
•  配置成员拓扑域和检测域编号时,必 须保证各成员AC 设备之间拓扑域编号相同和检测域编号
相同。
•  每个成员AC 设备上只能创建与其成员编号对应的IRF 逻辑端口,并且只能绑定相同速率的物
理端口。绑定物理端口后,必须保存配置重启该成员设备或者执行激活IRF 端口下的配置后
才能生效。
•  IRF 建立成功后再在IRF 上配置二层动态聚合口用于传输业务报文。
2. IRF 形成后的注意事项
•  设备不允许使用shutdown 命令关闭从设备上最后一个处于up 状态的控制通道所在的物理接
口。如果确实需要关闭该IRF 链路,可以在主设备的对应接口下执行shutdown 命令。
•  在IRF 上对IRF 报文和业务报文进行二层隔离,避免相互干扰。
•  在IRF 组网环境中,业务链路跨板聚合时,交换机侧的链路聚合,不能配置为per-packet 方
式。
•  IRF 环境下,不支持配置NAT 功能。
•  当两台设备间存在多条正常运行的IRF 物理链路时,必须先对端口进行shutdown 操作,才
能取消IRF 端口和IRF 物理端口的绑定关系。
3.3  配置步骤
3.3.1  配置Switch
# 创建二层聚合接口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
3.3.2  配置AC 1
(1)  配置IRF 端口
# 创建IRF 端口1,并将端口Te n-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
3.3.3  配置AC 2
(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,并将端口Te n-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。
3.3.4  配置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
3.4  验证配置
(1)  IRF 建立好后可在IRF 上使用命令display irf 查看IRF 信息。AC 1 的优先级高于AC 2,所
以AC 1 为主设备。
H3C 无线控制器双机直连IRF 典型配置举例(V7)   (图2)

(2)  IRF 建立好后可在IRF 上使用命令display irf link 查看IRF 链路状态信息,IRF 端口都为Up状态。
H3C 无线控制器双机直连IRF 典型配置举例(V7)   (图3)
(3)  在IRF 上使用命令display link-aggregation verbose 查看聚合组1 的详细信息。两个成员端口都处于聚合组1 中且为选中状态。

H3C 无线控制器双机直连IRF 典型配置举例(V7)   (图4)

(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:
#
 sysname IRF
#
 irf mac-address persistent timer
 irf auto-update enable
 irf auto-merge enable
 irf member 1 priority 2
 irf member 2 priority 1
 irf member 1 description AC 1
 irf member 2 description AC 2
#
 link-aggregation lacp traffic-redirect-notification enable
#
irf-port 1
 port group interface Ten-GigabitEthernet1/0/25
#
irf-port 2
 port group interface Ten-GigabitEthernet2/0/25
#
interface Bridge-Aggregation1
 link-aggregation mode dynamic
#
interface GigabitEthernet1/0/1
 port link-aggregation group 1
#
interface GigabitEthernet2/0/1
 port link-aggregation group 1
#
•  Switch:
#
 link-aggregation lacp traffic-redirect-notification enable
#
interface Bridge-Aggregation1
 link-aggregation mode dynamic
#
interface GigabitEthernet1/0/1
 port link-aggregation group 1
#
interface GigabitEthernet1/0/2
 port link-aggregation group 1



无线(列表、list、全)wlanlist
http://www.zh-cjh.com/wenzhangguilei/223.html
H3C无线(列表、list、全)h3c无线list、h3clist
http://www.zh-cjh.com/wenzhangguilei/210.html
文章归类、所有文章列表、LISTLIST
http://www.zh-cjh.com/wangzhangonggao/2195.html

1、本站资源长期持续更新。
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。

转载请保留出处:  www.zh-cjh.com珠海陈坚浩博客 » 4.3 H3C无线:H3C无线控制器双机直连IRF 典型配置举例(V7)

作者: cjh


手机扫一扫,手机上查看此文章:

一切源于价值!

其他 模板文件不存在: ./template/plugins/comment/pc/index.htm

未雨绸缪、居安思危!

数据安全、有备无患!

注意操作、数据无价!

一切源于价值!