配置双MPP Mesh业务示例
组网图形
图1配置双MPP Mesh业务示例组网图
- 业务需求
- 组网需求
- 数据规划
- 配置思路
- 配置注意事项
- 操作步骤
- 配置文件
业务需求
企业内部需将无线网络覆盖不同区域时,可以配置多个MPP节点,通过将MPP配置在不同的工作信道,减少MP间相互竞争无线信道使用权,提高整体性能。
组网需求
- AC组网方式:旁挂二层组网。
- 无线回传方式:Mesh双portal-node方式。
- 回传射频:5G频段。
数据规划
AP名称 | MAC |
---|---|
AP_1 | 00e0-fc74-9640 |
AP_2 | 00e0-fc04-b500 |
AP_3 | 00e0-fc96-e4c0 |
AP_4 | 00e0-fcac-cc60 |
[表1AP数据规划表] |
配置项 | 数据 |
---|---|
AP管理VLAN | VLAN100 |
DHCP服务器 | AC作为AP的DHCP服务器 |
AP地址池 | 10.23.100.2~10.23.100.254/24 |
AC的源接口 | VLANIF100:10.23.100.1/24 |
Mesh模板 | * 名称:mesh-net * Mesh链路老化时间:30(单位:秒) |
Mesh角色 | * AP_1:Mesh-portal(MPP) * AP_2:Mesh-portal(MPP) * AP_3:Mesh-node(MP) * AP_4:Mesh-node(MP) |
Mesh ID | 名称:mesh-net |
Mesh白名单 | 名称:mesh-list |
域管理模板 | * 名称:default * 国家码:中国 |
AP系统模板 | 名称:mesh-sys |
Mesh使用的射频 | 射频1: * 带宽:40MHz-plus * 信道:157 * 射频覆盖距离参数:4(单位:100m) |
安全模板 | * 名称:mesh-sec * 安全策略:WPA2+PSK+AES * 密码类型:PASS-PHRASE * 密码:a1234567 |
AP组 | * mesh-mpp:AP_1、AP_2 * mesh-mp:AP_3、AP_4 |
[表2AC数据规划表] |
配置思路
- 配置网络互通,使区域A的AP(MPP节点)可以通过有线的方式在AC上线。
- 配置Mesh业务,使区域B的AP(MP节点)可以通过无线Mesh链路在AC上线。
配置注意事项
-
纯组播报文由于协议要求在无线空口没有ACK机制保障,且无线空口链路不稳定,为了纯组播报文能够稳定发送,通常会以低速报文形式发送。如果网络侧有大量异常组播流量涌入,则会造成无线空口拥堵。为了减小大量低速组播报文对无线网络造成的冲击,建议配置组播报文抑制功能。配置前请确认是否有组播业务,如果有,请谨慎配置限速值。
- 业务数据转发方式采用直接转发时,建议在直连AP的交换机接口上配置组播报文抑制。
- 业务数据转发方式采用隧道转发时,建议在AC的流量模板下配置组播报文抑制。
-
建议在与AP直连的设备接口上配置端口隔离,如果不配置端口隔离,尤其是业务数据转发方式采用直接转发时,可能会在VLAN内形成大量不必要的广播报文,导致网络阻塞,影响用户体验。
-
隧道转发模式下,管理VLAN和业务VLAN不能配置为同一VLAN,且AP和AC之间只能放通管理VLAN,不能放通业务VLAN。
-
配置多MPP Mesh业务时,如果需要MP节点同时能与多个MPP节点建立无线链路,须将这些MPP节点配置为相同信道。
-
在Mesh组网中,802.11ac芯片的AP射频只能和使用了802.11ac芯片的邻居射频对接,不支持和非802.11ac芯片的邻居射频对接。802.11n芯片的AP射频只能和使用了802.11n芯片的邻居射频对接,不支持和非802.11n芯片的邻居射频对接。各AP款型使用的射频芯片类型如下表所示:
AP款型 Radio 0 Radio 1 Radio 2 AirEngine 5761R-11/AirEngine 5761RS-11 802.11ax 802.11ax N/A AirEngine 5761R-11E 802.11ax 802.11ax N/A AirEngine 5761-10W/AirEngine 5761S-10W 802.11ax 802.11ax N/A AirEngine 5761-10WD 不支持Mesh 不支持Mesh N/A AirEngine 5761S-12/AirEngine 5761S-13 802.11ax 802.11ax N/A AirEngine 6761-21/AirEngine 6761S-21 802.11ax 802.11ax N/A AirEngine 6761-21E 802.11ax 802.11ax N/A AirEngine 9700D-M1 不支持Mesh 不支持Mesh N/A AirEngine 5761-11/AirEngine 5761S-11 N/A AirEngine 5761-11W/AirEngine 5761S-11W N/A AirEngine 5761-11WD 不支持Mesh 不支持Mesh N/A AirEngine 5761-12W N/A AirEngine 5761-21/AirEngine 5761S-21 N/A AirEngine 6760-51EI 802.11ax 802.11ax N/A AirEngine 6761-21T/AirEngine 6761S-21T AirEngine 5760-22W 不支持Mesh 不支持Mesh N/A AirEngine 5760-22WD 不支持Mesh 不支持Mesh N/A AirEngine 5760-51 不支持Mesh 不支持Mesh 不支持Mesh AirEngine 6760R-51/AirEngine 6760R-51E 不支持Mesh 不支持Mesh N/A AirEngine 6760-X1/AirEngine 6760-X1E 不支持Mesh 不支持Mesh 不支持Mesh AirEngine 8760R-X1 不支持Mesh 不支持Mesh N/A AirEngine 8760R-X1E 不支持Mesh 不支持Mesh 不支持Mesh AirEngine 8760-X1-PRO 不支持Mesh 不支持Mesh 不支持Mesh AirEngine 9700D-M 不支持Mesh 不支持Mesh 不支持Mesh AirEngine 5760-10 不支持Mesh 不支持Mesh N/A R450D 不支持Mesh 不支持Mesh N/A R250D/R250D-E 不支持Mesh 不支持Mesh N/A R251D/R251D-E 不支持Mesh 不支持Mesh N/A R230D/R240D 不支持Mesh 不支持Mesh N/A AP9330DN 不支持Mesh 不支持Mesh N/A AP9131DN/AP9132DN 802.11n 802.11ac N/A AP9130DN 802.11ac 802.11ac N/A AP8030DN/AP8130DN/AP8130DN-W 802.11ac 802.11ac N/A AP8050DN/AP8050DN-S/AP8150DN 802.11ac 802.11ac N/A AP8050TN-HD 802.11ac 802.11ac 不支持Mesh AP8082DN/AP8182DN 802.11ac 802.11ac N/A AP7060DN 不支持Mesh 不支持Mesh N/A AP7050DE/AP7052DE 802.11ac 802.11ac N/A AP7050DN-E/AP7052DN/AP7152DN 802.11ac 802.11ac N/A AP7030DE 不支持Mesh 不支持Mesh N/A AP6750-10T 802.11n 802.11ac 不支持Mesh AP6050DN/AP6052DN/AP6150DN 802.11ac 802.11ac N/A AP5510-W-GP 不支持Mesh 不支持Mesh N/A WA375DD-CE 不支持Mesh 不支持Mesh N/A AP5050DN-S 802.11ac 802.11ac N/A AP5030DN/AP5030DN-S/AP5130DN 802.11n 802.11ac N/A AP430-E 802.11n 802.11ac N/A AP4051DN/AP4051DN-S/AP4151DN 802.11ac 802.11ac N/A AP4050DN/AP4050DN-E/AP4050DN-S/AP4050DN-HD 802.11ac 802.11ac N/A AP4051TN 802.11n 802.11ac 不支持Mesh AP4050DE-M/AP4050DE-M-S/AP4050DE-B-S 802.11n 802.11ac N/A AP4030TN 802.11n 802.11ac 不支持Mesh AP4030DN/AP4030DN-E/AP4130DN 802.11n 802.11ac N/A AP3010DN-V2/AP3030DN/AP3050DE 802.11n 802.11ac N/A AP2050DN/AP2050DN-S/AP2050DN-E 不支持Mesh 不支持Mesh N/A AP2051DN/AP2051DN-S/AP2051DN-E 不支持Mesh 不支持Mesh N/A AP2030DN/AP2030DN-S 不支持Mesh 不支持Mesh N/A AP1050DN-S 802.11ac 802.11ac N/A AD9430DN-12/AD9430DN-24/AD9431DN-24X 不支持Mesh 不支持Mesh N/A [表3AP射频使用的芯片协议类型]
操作步骤
-
配置周边设备
配置汇聚交换机Switch_A的GE0/0/1和GE0/0/2接口加入VLAN100。
screen<span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b554312077190921">system-view</strong> [HUAWEI] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1155739336190921">sysname Switch_A</strong> [Switch_A] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b755385457190921">vlan batch 100</strong> [Switch_A] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1326989024190921">interface gigabitEthernet 0/0/1</strong> [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b61831809190921">port link-type trunk</strong> [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2064476436190921">port trunk allow-pass vlan 100</strong> [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1262363674190921">quit</strong> [Switch_A] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1331602832190921">interface gigabitEthernet 0/0/2</strong> [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1952446394190921">port link-type trunk</strong> [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1303309520190921">port trunk allow-pass vlan 100</strong> [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1673864937190921">quit</strong></span></span>
配置接入交换机Switch_B的接口GE0/0/1、GE0/0/2和GE0/0/3接口加入VLAN100,接口GE0/0/1和GE0/0/2的缺省VLAN为VLAN100。
screen<span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b717690213190921">system-view</strong> [HUAWEI] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1353101581190921">sysname Switch_B</strong> [Switch_B] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b159158281190921">vlan batch 100</strong> [Switch_B] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b418786445190921">interface gigabitEthernet 0/0/1</strong> [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1514271383190921">port link-type trunk</strong> [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b520622107190921">port trunk pvid vlan 100</strong> [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1936154213190921">port trunk allow-pass vlan 100</strong> [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2003894280190921">port-isolate enable</strong> [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b180784039190921">quit</strong> [Switch_B] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b77984693190921">interface gigabitEthernet 0/0/2</strong> [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b172970686190921">port link-type trunk</strong> [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1987122288190921">port trunk pvid vlan 100</strong> [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1428445152190921">port trunk allow-pass vlan 100</strong> [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b676228023190921">port-isolate enable</strong> [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b421390708190921">quit</strong> [Switch_B] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1478184217190921">interface gigabitEthernet 0/0/3</strong> [Switch_B-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1180896774190921">port link-type trunk</strong> [Switch_B-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b853292613190921">port trunk allow-pass vlan 100</strong> [Switch_B-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1658945716190921">quit</strong></span></span>
-
配置AC与其它网络设备互通
如果AC直接连接AP,需要在AC直连AP的接口上配置缺省VLAN为管理VLAN100。
配置AC的接口GE0/0/1加入VLAN100。
screen<span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b77621101190921">system-view</strong> [HUAWEI] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1169650517190921">sysname AC</strong> [AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1617854456190921">vlan batch 100</strong> [AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1053448549190921">interface gigabitEthernet 0/0/1</strong> [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b607813567190921">port link-type trunk</strong> [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b273905989190921">port trunk allow-pass vlan 100</strong> [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b149237716190921">quit</strong></span></span>
-
配置DHCP服务器为AP分配IP地址
在AC上使能DHCP功能,并通过接口地址池为AP分配IP地址。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0176912386_b833049920190921">dhcp enable</strong> [AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0176912386_b442696569190921">interface vlanif 100</strong> [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0176912386_b1404198236190921">ip address 10.23.100.1 24</strong> [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0176912386_b1156371208190921">dhcp select interface</strong> [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0176912386_b424986551190921">quit</strong></span></span>
-
配置AP组、国家码和AC的源接口
创建MPP的AP组和MP的AP组,用于将相同配置的AP都加入同一AP组中。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b38865339190921">wlan</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2141715915190921">ap-group name mesh-mpp</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b8172027190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b202553902190921">ap-group name mesh-mp</strong> [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b821565364190921">quit</strong></span></span>
创建域管理模板,在域管理模板下配置AC的国家码并在AP组下引用域管理模板。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b525048147190921">regulatory-domain-profile name domain1</strong> [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1686995560190921">country-code cn</strong> [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b59690092190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b424152019190921">ap-group name mesh-mpp</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2096306653190921">regulatory-domain-profile domain1</strong> Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:<strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0175818418_b17491131153716">y</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b617532202190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b983586900190921">ap-group name mesh-mp</strong> [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1033613788190921">regulatory-domain-profile domain1</strong> Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:<strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0175818418_b17491131153716_1">y</strong> [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b824392226190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1163529507190921">quit</strong></span></span>
配置AC的源接口。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0176912382_b1825811008190921">capwap source interface vlanif 100</strong></span></span>
将AP_1、AP_2加入到AP组"mesh-mpp"中,将AP_3、AP_4加入到AP组"mesh-mp"中。
ap auth-mode 命令缺省情况下为MAC认证,如果之前没有修改其缺省配置,可以不用执行ap auth-mode mac-auth。
举例中使用的AP为AP8130DN,具有射频0和射频1两个射频。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1737204571190921">wlan</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1265167390190921">ap auth-mode mac-auth</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b755053659190921">ap-id 1 ap-mac 00e0-fc74-9640</strong> [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b608239846190921">ap-name AP_1</strong> [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1736642950190921">ap-group mesh-mpp</strong> Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0175818418_b1651706244190906">y</strong> [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1809941998190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1187799372190921">ap-id 2 ap-mac 00e0-fc04-b500</strong> [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b393243187190921">ap-name AP_2</strong> [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b30358336190921">ap-group mesh-mpp</strong> Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0175818418_b1651706244190906_1">y</strong> [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1724752358190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b372015667190921">ap-id 3 ap-mac 00e0-fc96-e4c0</strong> [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1986712692190921">ap-name AP_3</strong> [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1605505615190921">ap-group mesh-mp</strong> Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0175818418_b1651706244190906_2">y</strong> [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b329157173190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1626657212190921">ap-id 4 ap-mac 00e0-fcac-cc60</strong> [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1662441114190921">ap-name AP_4</strong> [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1233170931190921">ap-group mesh-mp</strong> Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0175818418_b1651706244190906_3">y</strong> [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b356187540190921">quit</strong></span></span>
-
配置Mesh业务参数
配置Mesh节点使用的主要射频参数。本例中使用的是射频1,缺省情况下射频覆盖距离参数是3,单位是100m。本例中使用参数为4,用户可以根据实际情况配置该参数。
配置多MPP Mesh业务时,如果需要MP节点同时能与多个MPP节点建立无线链路,须将这些MPP节点配置为相同信道。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b186805524190921">ap-group name mesh-mpp</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b321761796190921">radio 1</strong> [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b279802363191016">calibrate auto-channel-select disable</strong> [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1095481633191016">calibrate auto-txpower-select disable</strong> [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1152409633190921">channel 40mhz-plus 157</strong> Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0175818418_b1384307436190906">y</strong> [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1160890578190921">coverage distance 4</strong> [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b478606141190921">quit</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b804933784190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b440206835190921">ap-group name mesh-mp</strong> [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b843168286190921">radio 1</strong> [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1534764618182">calibrate auto-channel-select disable</strong> [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b103472468185">calibrate auto-txpower-select disable</strong> [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b875451610190921">channel 40mhz-plus 157</strong> Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0175818418_b1384307436190906_1">y</strong> [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1605750355190921">coverage distance 4</strong> [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b761420357190921">quit</strong> [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b379765783190921">quit</strong></span></span>
配置Mesh链路使用的安全模板"mesh-sec","mesh-sec"的安全策略为WPA2+PSK+AES。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b670505601190921">security-profile name mesh-sec</strong> [AC-wlan-sec-prof-mesh-sec] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1454231673190921">security wpa2 psk pass-phrase a1234567 aes</strong> [AC-wlan-sec-prof-mesh-sec] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1768210552190921">quit</strong></span></span>
配置Mesh白名单。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1729249746190921">mesh-whitelist-profile name mesh-list</strong> [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2087601757190921">peer-ap mac 00e0-fc74-9640</strong> [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1919164470190921">peer-ap mac 00e0-fc04-b500</strong> [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1764136156190921">peer-ap mac 00e0-fc96-e4c0</strong> [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b539112018190921">peer-ap mac 00e0-fcac-cc60</strong> [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1042731400190921">quit</strong></span></span>
配置Mesh角色。配置AP_1、AP_2的Mesh角色为"Mesh-portal",缺省情况下Mesh角色为"Mesh-node",所以AP_3、AP_4可以使用默认配置。Mesh角色是通过AP系统模板配置的。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1510178074190921">ap-system-profile name mesh-sys</strong> [AC-wlan-ap-system-prof-mesh-sys] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b379341672190921">mesh-role Mesh-portal</strong> [AC-wlan-ap-system-prof-mesh-sys] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b630420914190921">quit</strong></span></span>
配置Mesh模板。配置Mesh网络的ID为"mesh-net",Mesh链路老化时间为30秒,并引用安全模板。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1649962023190921">mesh-profile name mesh-net</strong> [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2144227684190921">mesh-id mesh-net</strong> [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b60837982190921">link-aging-time 30</strong> [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2127738892190921">security-profile mesh-sec</strong> [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b78518459190921">quit</strong></span></span>
配置AP射频引用Mesh白名单。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1652290806190921">ap-group name mesh-mpp</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1777088116190921">radio 1</strong> [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b986005482190921">mesh-whitelist-profile mesh-list</strong> [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1959963303190921">quit</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b115441278190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b124116826190921">ap-group name mesh-mp</strong> [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b643289200190921">radio 1</strong> [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b495177879190921">mesh-whitelist-profile mesh-list</strong> [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1730116287190921">quit</strong> [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1016854073190921">quit</strong></span></span>
-
配置AP组引用相关模板,使Mesh业务生效
配置AP组"mesh-mpp"引用AP系统模板"mesh-sys",使MPP角色在AP_1、AP_2上生效。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1007561429190921">ap-group name mesh-mpp</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b409810951190921">ap-system-profile mesh-sys</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1437542678190921">quit</strong></span></span>
配置AP组"mesh-mpp"和"mesh-mp"分别引用Mesh模板"mesh-net",使Mesh业务生效。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b996748836190921">ap-group name mesh-mpp</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b801664953190921">mesh-profile mesh-net radio 1</strong> [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b223405234190921">quit</strong> [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1753692681190921">ap-group name mesh-mp</strong> [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b554215332190921">mesh-profile mesh-net radio 1</strong> [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1076506298190921">quit</strong></span></span>
-
验证Mesh业务配置结果
完成配置后,执行命令display ap all,查看Mesh各节点是否成功上线,当"State"字段显示为"nor",则表示AP已成功上线。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b881055227190921">display ap all</strong> Total AP information: nor : normal [4] Extra information: P : insufficient power supply -------------------------------------------------------------------------------------------------- ID MAC Name Group IP Type State STA Uptime ExtraInfo -------------------------------------------------------------------------------------------------- 1 00e0-fc74-9640 AP_1 mesh-mpp 10.23.100.254 AP8130DN <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2016669445190921">nor</strong> 0 5M:44S - 2 00e0-fc04-b500 AP_2 mesh-mpp 10.23.100.253 AP8130DN <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1653393940190921">nor</strong> 0 6M:15S - 3 00e0-fc96-e4c0 AP_3 mesh-mp 10.23.100.252 AP8130DN <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1679751903190921">nor</strong> 0 1M:35S - 4 00e0-fcac-cc60 AP_4 mesh-mp 10.23.100.251 AP8130DN <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1962674093190921">nor</strong> 0 3M:56S - -------------------------------------------------------------------------------------------------- Total: 4</span></span>
双MPP的Mesh业务生效后,执行命令display wlan mesh link all,查看Mesh链路相关信息。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1108133417190921">display wlan mesh link all</strong> Rf : radio ID Dis : coverage distance(100m) Ch : channel Per : drop percent(%) TSNR : total SNR(dB) P- : peer Mesh : Mesh mode Re : retry ratio(%) RSSI : RSSI(dBm) MaxR : max RSSI(dBm) ---------------------------------------------------------------------------------------------------------------------------------- APName P-APName P-APMAC Rf Dis Ch Mesh P-Status RSSI MaxR Per Re TSNR SNR(Ch0~3:dB) Tx(Mbps) Rx(Mbps) ---------------------------------------------------------------------------------------------------------------------------------- AP_1 AP_4 00e0-fcac-cc60 1 4 157 portal normal -28 -27 0 25 70 62/69/-/- 192 192 AP_1 AP_3 00e0-fc96-e4c0 1 4 157 portal normal -18 -2 0 0 78 73/77/-/- 192 192 AP_2 AP_4 00e0-fcac-cc60 1 4 157 portal normal -17 -16 0 52 80 57/49/80/- 192 192 AP_2 AP_3 00e0-fc96-e4c0 1 4 157 portal normal -24 -21 0 0 72 58/54/72/- 192 192 AP_4 AP_1 00e0-fc74-9640 1 4 157 node normal -29 -29 0 0 65 64/58/-/- 192 192 AP_4 AP_2 00e0-fc04-b500 1 4 157 node normal -21 -19 0 10 76 76/64/-/- 192 192 AP_4 AP_3 00e0-fc96-e4c0 1 4 157 node normal -7 -1 0 0 89 88/82/-/- 192 192 AP_3 AP_2 00e0-fc04-b500 1 4 157 node normal -35 -32 0 35 61 51/60/-/- 192 192 AP_3 AP_1 00e0-fc74-9640 1 4 157 node normal -27 -23 0 0 70 68/66/-/- 192 192 AP_3 AP_4 00e0-fcac-cc60 1 4 157 node normal -13 -11 0 23 83 80/81/-/- 192 192 ---------------------------------------------------------------------------------------------------------------------------------- Total: 10</span></span>
执行命令display wlan mesh route all,查看当前Mesh网络的Mesh路由。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b999496990190921">display wlan mesh route all</strong> -------------------------------------------------------------------------- AP name/MAC/Mesh role/Radio Next-hop name/MAC/Mesh role/Radio -------------------------------------------------------------------------- AP_4 /00e0-fcac-cc60/MP /1 AP_2 /00e0-fc04-b500/MPP/1 AP_3 /00e0-fc96-e4c0/MP /1 AP_4 /00e0-fcac-cc60/MP /1 -------------------------------------------------------------------------- Total: 2 </span></span>
当AP_2与AC间的链路出现了故障,AP_2可以自动转换为MP,通过Mesh链路上线。执行命令display wlan mesh route all,可以看出AP_2、AP_3、AP_4通过AP_1上线了。
screen<span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b501689866190921">display wlan mesh route all</strong> -------------------------------------------------------------------------- AP name/MAC/Mesh role/Radio Next-hop name/MAC/Mesh role/Radio -------------------------------------------------------------------------- AP_4 /00e0-fcac-cc60/MP /1 AP_1 /00e0-fc74-9640/MPP/1 AP_2 /00e0-fc04-b500/MP /1 AP_4 /00e0-fcac-cc60/MP /1 AP_3 /00e0-fc96-e4c0/MP /1 AP_1 /00e0-fc74-9640/MPP/1 -------------------------------------------------------------------------- Total: 3</span></span>
配置文件
-
Switch_A的配置文件
screen<span style="color:#333333"><span style="background-color:#dddddd"># sysname Switch_A # vlan batch 100 # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 100 # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 100 # return</span></span>
-
Switch_B的配置文件
screen<span style="color:#333333"><span style="background-color:#dddddd"># sysname Switch_B # vlan batch 100 # interface GigabitEthernet0/0/1 port link-type trunk port trunk pvid vlan 100 port trunk allow-pass vlan 100 port-isolate enable group 1 # interface GigabitEthernet0/0/2 port link-type trunk port trunk pvid vlan 100 port trunk allow-pass vlan 100 port-isolate enable group 1 # interface GigabitEthernet0/0/3 port link-type trunk port trunk allow-pass vlan 100 # return</span></span>
-
AC的配置文件
screen<span style="color:#333333"><span style="background-color:#dddddd"># sysname AC # vlan batch 100 # dhcp enable # interface Vlanif100 ip address 10.23.100.1 255.255.255.0 dhcp select interface # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 100 # capwap source interface vlanif100 # wlan security-profile name mesh-sec security wpa2 psk pass-phrase %^%#WXq~51G1^G;~|`C\G$v-`XoiIe4z$CNAM#@TeN^+%^%# aes mesh-whitelist-profile name mesh-list peer-ap mac 00e0-fc74-9640 peer-ap mac 00e0-fc04-b500 peer-ap mac 00e0-fc96-e4c0 peer-ap mac 00e0-fcac-cc60 mesh-profile name mesh-net security-profile mesh-sec mesh-id mesh-net link-aging-time 30 regulatory-domain-profile name domain1 ap-system-profile name mesh-sys mesh-role Mesh-portal ap-group name mesh-mp regulatory-domain-profile domain1 radio 1 mesh-profile mesh-net mesh-whitelist-profile mesh-list channel 40mhz-plus 157 coverage distance 4 calibrate auto-channel-select disable calibrate auto-txpower-select disable ap-group name mesh-mpp ap-system-profile mesh-sys regulatory-domain-profile domain1 radio 1 mesh-profile mesh-net mesh-whitelist-profile mesh-list channel 40mhz-plus 157 coverage distance 4 calibrate auto-channel-select disable calibrate auto-txpower-select disable ap-id 1 ap-mac 00e0-fc74-9640 ap-name AP_1 ap-group mesh-mpp ap-id 2 ap-mac 00e0-fc04-b500 ap-name AP_2 ap-group mesh-mpp ap-id 3 ap-mac 00e0-fc96-e4c0 ap-name AP_3 ap-group mesh-mp ap-id 4 ap-mac 00e0-fcac-cc60 ap-name AP_4 ap-group mesh-mp # return </span></span>