当前位置:   article > 正文

华为配置双MPP Mesh业务示例

华为配置双MPP Mesh业务示例

配置双MPP Mesh业务示例

组网图形

图1 配置双MPP Mesh业务示例组网图
  • 业务需求
  • 组网需求
  • 数据规划
  • 配置思路
  • 配置注意事项
  • 操作步骤
  • 配置文件
业务需求

企业内部需将无线网络覆盖不同区域时,可以配置多个MPP节点,通过将MPP配置在不同的工作信道,减少MP间相互竞争无线信道使用权,提高整体性能。

组网需求
  • AC组网方式:旁挂二层组网。
  • 无线回传方式:Mesh双portal-node方式。
  • 回传射频:5G频段。
数据规划
表1 AP数据规划表

AP名称

MAC

AP_1

00e0-fc74-9640

AP_2

00e0-fc04-b500

AP_3

00e0-fc96-e4c0

AP_4

00e0-fcac-cc60

表2 AC数据规划表

配置项

数据

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
配置思路
  1. 配置网络互通,使区域A的AP(MPP节点)可以通过有线的方式在AC上线。
  2. 配置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款型使用的射频芯片类型如下表所示:
    表3 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

操作步骤
  1. 配置周边设备

    # 配置汇聚交换机Switch_A的GE0/0/1和GE0/0/2接口加入VLAN100。
    1. <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b554312077190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1155739336190921">sysname Switch_A</strong>
    3. [Switch_A] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b755385457190921">vlan batch 100</strong>
    4. [Switch_A] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1326989024190921">interface gigabitEthernet 0/0/1</strong>
    5. [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b61831809190921">port link-type trunk</strong>
    6. [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2064476436190921">port trunk allow-pass vlan 100</strong>
    7. [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1262363674190921">quit</strong>
    8. [Switch_A] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1331602832190921">interface gigabitEthernet 0/0/2</strong>
    9. [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1952446394190921">port link-type trunk</strong>
    10. [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1303309520190921">port trunk allow-pass vlan 100</strong>
    11. [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。
    1. <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b717690213190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1353101581190921">sysname Switch_B</strong>
    3. [Switch_B] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b159158281190921">vlan batch 100</strong>
    4. [Switch_B] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b418786445190921">interface gigabitEthernet 0/0/1</strong>
    5. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1514271383190921">port link-type trunk</strong>
    6. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b520622107190921">port trunk pvid vlan 100</strong>
    7. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1936154213190921">port trunk allow-pass vlan 100</strong>
    8. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2003894280190921">port-isolate enable</strong>
    9. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b180784039190921">quit</strong>
    10. [Switch_B] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b77984693190921">interface gigabitEthernet 0/0/2</strong>
    11. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b172970686190921">port link-type trunk</strong>
    12. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1987122288190921">port trunk pvid vlan 100</strong>
    13. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1428445152190921">port trunk allow-pass vlan 100</strong>
    14. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b676228023190921">port-isolate enable</strong>
    15. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b421390708190921">quit</strong>
    16. [Switch_B] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1478184217190921">interface gigabitEthernet 0/0/3</strong>
    17. [Switch_B-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1180896774190921">port link-type trunk</strong>
    18. [Switch_B-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b853292613190921">port trunk allow-pass vlan 100</strong>
    19. [Switch_B-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1658945716190921">quit</strong></span></span>
  2. 配置AC与其它网络设备互通

    如果AC直接连接AP,需要在AC直连AP的接口上配置缺省VLAN为管理VLAN100。

    # 配置AC的接口GE0/0/1加入VLAN100。

    1. <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b77621101190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1169650517190921">sysname AC</strong>
    3. [AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1617854456190921">vlan batch 100</strong>
    4. [AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1053448549190921">interface gigabitEthernet 0/0/1</strong>
    5. [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b607813567190921">port link-type trunk</strong>
    6. [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b273905989190921">port trunk allow-pass vlan 100</strong>
    7. [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b149237716190921">quit</strong></span></span>
  3. 配置DHCP服务器为AP分配IP地址

    # 在AC上使能DHCP功能,并通过接口地址池为AP分配IP地址。

    1. <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>
    2. [AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0176912386_b442696569190921">interface vlanif 100</strong>
    3. [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>
    4. [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0176912386_b1156371208190921">dhcp select interface</strong>
    5. [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_zh-cn_task_0176912386_b424986551190921">quit</strong></span></span>
  4. 配置AP组、国家码和AC的源接口

    # 创建MPP的AP组和MP的AP组,用于将相同配置的AP都加入同一AP组中。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b38865339190921">wlan</strong>
    2. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2141715915190921">ap-group name mesh-mpp</strong>
    3. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b8172027190921">quit</strong>
    4. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b202553902190921">ap-group name mesh-mp</strong>
    5. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b821565364190921">quit</strong></span></span>

    # 创建域管理模板,在域管理模板下配置AC的国家码并在AP组下引用域管理模板。

    1. <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>
    2. [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1686995560190921">country-code cn</strong>
    3. [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b59690092190921">quit</strong>
    4. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b424152019190921">ap-group name mesh-mpp</strong>
    5. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2096306653190921">regulatory-domain-profile domain1</strong>
    6. 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>
    7. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b617532202190921">quit</strong>
    8. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b983586900190921">ap-group name mesh-mp</strong>
    9. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1033613788190921">regulatory-domain-profile domain1</strong>
    10. 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>
    11. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b824392226190921">quit</strong>
    12. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1163529507190921">quit</strong></span></span>

    # 配置AC的源接口。

    <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两个射频。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1737204571190921">wlan</strong>
    2. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1265167390190921">ap auth-mode mac-auth</strong>
    3. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b755053659190921">ap-id 1 ap-mac 00e0-fc74-9640</strong>
    4. [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b608239846190921">ap-name AP_1</strong>
    5. [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1736642950190921">ap-group mesh-mpp</strong>
    6. 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>
    7. [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1809941998190921">quit</strong>
    8. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1187799372190921">ap-id 2 ap-mac 00e0-fc04-b500</strong>
    9. [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b393243187190921">ap-name AP_2</strong>
    10. [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b30358336190921">ap-group mesh-mpp</strong>
    11. 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>
    12. [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1724752358190921">quit</strong>
    13. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b372015667190921">ap-id 3 ap-mac 00e0-fc96-e4c0</strong>
    14. [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1986712692190921">ap-name AP_3</strong>
    15. [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1605505615190921">ap-group mesh-mp</strong>
    16. 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>
    17. [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b329157173190921">quit</strong>
    18. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1626657212190921">ap-id 4 ap-mac 00e0-fcac-cc60</strong>
    19. [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1662441114190921">ap-name AP_4</strong>
    20. [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1233170931190921">ap-group mesh-mp</strong>
    21. 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>
    22. [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b356187540190921">quit</strong></span></span>
  5. 配置Mesh业务参数

    # 配置Mesh节点使用的主要射频参数。本例中使用的是射频1,缺省情况下射频覆盖距离参数是3,单位是100m。本例中使用参数为4,用户可以根据实际情况配置该参数。

    配置多MPP Mesh业务时,如果需要MP节点同时能与多个MPP节点建立无线链路,须将这些MPP节点配置为相同信道。

    1. <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>
    2. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b321761796190921">radio 1</strong>
    3. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b279802363191016">calibrate auto-channel-select disable</strong>
    4. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1095481633191016">calibrate auto-txpower-select disable</strong>
    5. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1152409633190921">channel 40mhz-plus 157</strong>
    6. 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>
    7. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1160890578190921">coverage distance 4</strong>
    8. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b478606141190921">quit</strong>
    9. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b804933784190921">quit</strong>
    10. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b440206835190921">ap-group name mesh-mp</strong>
    11. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b843168286190921">radio 1</strong>
    12. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1534764618182">calibrate auto-channel-select disable</strong>
    13. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b103472468185">calibrate auto-txpower-select disable</strong>
    14. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b875451610190921">channel 40mhz-plus 157</strong>
    15. 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>
    16. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1605750355190921">coverage distance 4</strong>
    17. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b761420357190921">quit</strong>
    18. [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。

    1. <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>
    2. [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>
    3. [AC-wlan-sec-prof-mesh-sec] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1768210552190921">quit</strong></span></span>

    # 配置Mesh白名单。

    1. <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>
    2. [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2087601757190921">peer-ap mac 00e0-fc74-9640</strong>
    3. [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1919164470190921">peer-ap mac 00e0-fc04-b500</strong>
    4. [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1764136156190921">peer-ap mac 00e0-fc96-e4c0</strong>
    5. [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b539112018190921">peer-ap mac 00e0-fcac-cc60</strong>
    6. [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系统模板配置的。

    1. <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>
    2. [AC-wlan-ap-system-prof-mesh-sys] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b379341672190921">mesh-role Mesh-portal</strong>
    3. [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秒,并引用安全模板。

    1. <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>
    2. [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2144227684190921">mesh-id mesh-net</strong>
    3. [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b60837982190921">link-aging-time 30</strong>
    4. [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b2127738892190921">security-profile mesh-sec</strong>
    5. [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b78518459190921">quit</strong></span></span>

    # 配置AP射频引用Mesh白名单。

    1. <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>
    2. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1777088116190921">radio 1</strong>
    3. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b986005482190921">mesh-whitelist-profile mesh-list</strong>
    4. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1959963303190921">quit</strong>
    5. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b115441278190921">quit</strong>
    6. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b124116826190921">ap-group name mesh-mp</strong>
    7. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b643289200190921">radio 1</strong>
    8. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b495177879190921">mesh-whitelist-profile mesh-list</strong>
    9. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1730116287190921">quit</strong>
    10. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1016854073190921">quit</strong></span></span>
  6. 配置AP组引用相关模板,使Mesh业务生效

    # 配置AP组“mesh-mpp”引用AP系统模板“mesh-sys”,使MPP角色在AP_1、AP_2上生效。

    1. <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>
    2. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b409810951190921">ap-system-profile mesh-sys</strong>
    3. [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业务生效。

    1. <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>
    2. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b801664953190921">mesh-profile mesh-net radio 1</strong>
    3. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b223405234190921">quit</strong>
    4. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1753692681190921">ap-group name mesh-mp</strong>
    5. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b554215332190921">mesh-profile mesh-net radio 1</strong>
    6. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389389__zh-cn_task_0176912390_b1076506298190921">quit</strong></span></span>
  7. 验证Mesh业务配置结果

    # 完成配置后,执行命令display ap all,查看Mesh各节点是否成功上线,当“State”字段显示为“nor”,则表示AP已成功上线。

    1. <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>
    2. Total AP information:
    3. nor : normal [4]
    4. Extra information: P : insufficient power supply
    5. --------------------------------------------------------------------------------------------------
    6. ID MAC Name Group IP Type State STA Uptime ExtraInfo
    7. --------------------------------------------------------------------------------------------------
    8. 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 -
    9. 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 -
    10. 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 -
    11. 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 -
    12. --------------------------------------------------------------------------------------------------
    13. Total: 4</span></span>

    # 双MPP的Mesh业务生效后,执行命令display wlan mesh link all,查看Mesh链路相关信息。

    1. <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>
    2. Rf : radio ID Dis : coverage distance(100m)
    3. Ch : channel Per : drop percent(%)
    4. TSNR : total SNR(dB) P- : peer
    5. Mesh : Mesh mode Re : retry ratio(%)
    6. RSSI : RSSI(dBm) MaxR : max RSSI(dBm)
    7. ----------------------------------------------------------------------------------------------------------------------------------
    8. APName P-APName P-APMAC Rf Dis Ch Mesh P-Status RSSI MaxR Per Re TSNR SNR(Ch0~3:dB)
    9. Tx(Mbps) Rx(Mbps)
    10. ----------------------------------------------------------------------------------------------------------------------------------
    11. AP_1 AP_4 00e0-fcac-cc60 1 4 157 portal normal -28 -27 0 25 70 62/69/-/-
    12. 192 192
    13. AP_1 AP_3 00e0-fc96-e4c0 1 4 157 portal normal -18 -2 0 0 78 73/77/-/-
    14. 192 192
    15. AP_2 AP_4 00e0-fcac-cc60 1 4 157 portal normal -17 -16 0 52 80 57/49/80/-
    16. 192 192
    17. AP_2 AP_3 00e0-fc96-e4c0 1 4 157 portal normal -24 -21 0 0 72 58/54/72/-
    18. 192 192
    19. AP_4 AP_1 00e0-fc74-9640 1 4 157 node normal -29 -29 0 0 65 64/58/-/-
    20. 192 192
    21. AP_4 AP_2 00e0-fc04-b500 1 4 157 node normal -21 -19 0 10 76 76/64/-/-
    22. 192 192
    23. AP_4 AP_3 00e0-fc96-e4c0 1 4 157 node normal -7 -1 0 0 89 88/82/-/-
    24. 192 192
    25. AP_3 AP_2 00e0-fc04-b500 1 4 157 node normal -35 -32 0 35 61 51/60/-/-
    26. 192 192
    27. AP_3 AP_1 00e0-fc74-9640 1 4 157 node normal -27 -23 0 0 70 68/66/-/-
    28. 192 192
    29. AP_3 AP_4 00e0-fcac-cc60 1 4 157 node normal -13 -11 0 23 83 80/81/-/-
    30. 192 192
    31. ----------------------------------------------------------------------------------------------------------------------------------
    32. Total: 10</span></span>

    # 执行命令display wlan mesh route all,查看当前Mesh网络的Mesh路由。

    1. <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>
    2. --------------------------------------------------------------------------
    3. AP name/MAC/Mesh role/Radio Next-hop name/MAC/Mesh role/Radio
    4. --------------------------------------------------------------------------
    5. AP_4 /00e0-fcac-cc60/MP /1 AP_2 /00e0-fc04-b500/MPP/1
    6. AP_3 /00e0-fc96-e4c0/MP /1 AP_4 /00e0-fcac-cc60/MP /1
    7. --------------------------------------------------------------------------
    8. Total: 2 </span></span>

    # 当AP_2与AC间的链路出现了故障,AP_2可以自动转换为MP,通过Mesh链路上线。执行命令display wlan mesh route all,可以看出AP_2、AP_3、AP_4通过AP_1上线了。

    1. <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>
    2. --------------------------------------------------------------------------
    3. AP name/MAC/Mesh role/Radio Next-hop name/MAC/Mesh role/Radio
    4. --------------------------------------------------------------------------
    5. AP_4 /00e0-fcac-cc60/MP /1 AP_1 /00e0-fc74-9640/MPP/1
    6. AP_2 /00e0-fc04-b500/MP /1 AP_4 /00e0-fcac-cc60/MP /1
    7. AP_3 /00e0-fc96-e4c0/MP /1 AP_1 /00e0-fc74-9640/MPP/1
    8. --------------------------------------------------------------------------
    9. Total: 3</span></span>
配置文件
  • Switch_A的配置文件

    1. <span style="color:#333333"><span style="background-color:#dddddd">#
    2. sysname Switch_A
    3. #
    4. vlan batch 100
    5. #
    6. interface GigabitEthernet0/0/1
    7. port link-type trunk
    8. port trunk allow-pass vlan 100
    9. #
    10. interface GigabitEthernet0/0/2
    11. port link-type trunk
    12. port trunk allow-pass vlan 100
    13. #
    14. return</span></span>
  • Switch_B的配置文件

    1. <span style="color:#333333"><span style="background-color:#dddddd">#
    2. sysname Switch_B
    3. #
    4. vlan batch 100
    5. #
    6. interface GigabitEthernet0/0/1
    7. port link-type trunk
    8. port trunk pvid vlan 100
    9. port trunk allow-pass vlan 100
    10. port-isolate enable group 1
    11. #
    12. interface GigabitEthernet0/0/2
    13. port link-type trunk
    14. port trunk pvid vlan 100
    15. port trunk allow-pass vlan 100
    16. port-isolate enable group 1
    17. #
    18. interface GigabitEthernet0/0/3
    19. port link-type trunk
    20. port trunk allow-pass vlan 100
    21. #
    22. return</span></span>
  • AC的配置文件

    1. <span style="color:#333333"><span style="background-color:#dddddd">#
    2. sysname AC
    3. #
    4. vlan batch 100
    5. #
    6. dhcp enable
    7. #
    8. interface Vlanif100
    9. ip address 10.23.100.1 255.255.255.0
    10. dhcp select interface
    11. #
    12. interface GigabitEthernet0/0/1
    13. port link-type trunk
    14. port trunk allow-pass vlan 100
    15. #
    16. capwap source interface vlanif100
    17. #
    18. wlan
    19. security-profile name mesh-sec
    20. security wpa2 psk pass-phrase %^%#WXq~51G1^G;~|`C\G$v-`XoiIe4z$CNAM#@TeN^+%^%# aes
    21. mesh-whitelist-profile name mesh-list
    22. peer-ap mac 00e0-fc74-9640
    23. peer-ap mac 00e0-fc04-b500
    24. peer-ap mac 00e0-fc96-e4c0
    25. peer-ap mac 00e0-fcac-cc60
    26. mesh-profile name mesh-net
    27. security-profile mesh-sec
    28. mesh-id mesh-net
    29. link-aging-time 30
    30. regulatory-domain-profile name domain1
    31. ap-system-profile name mesh-sys
    32. mesh-role Mesh-portal
    33. ap-group name mesh-mp
    34. regulatory-domain-profile domain1
    35. radio 1
    36. mesh-profile mesh-net
    37. mesh-whitelist-profile mesh-list
    38. channel 40mhz-plus 157
    39. coverage distance 4
    40. calibrate auto-channel-select disable
    41. calibrate auto-txpower-select disable
    42. ap-group name mesh-mpp
    43. ap-system-profile mesh-sys
    44. regulatory-domain-profile domain1
    45. radio 1
    46. mesh-profile mesh-net
    47. mesh-whitelist-profile mesh-list
    48. channel 40mhz-plus 157
    49. coverage distance 4
    50. calibrate auto-channel-select disable
    51. calibrate auto-txpower-select disable
    52. ap-id 1 ap-mac 00e0-fc74-9640
    53. ap-name AP_1
    54. ap-group mesh-mpp
    55. ap-id 2 ap-mac 00e0-fc04-b500
    56. ap-name AP_2
    57. ap-group mesh-mpp
    58. ap-id 3 ap-mac 00e0-fc96-e4c0
    59. ap-name AP_3
    60. ap-group mesh-mp
    61. ap-id 4 ap-mac 00e0-fcac-cc60
    62. ap-name AP_4
    63. ap-group mesh-mp
    64. #
    65. return </span></span>
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/167237
推荐阅读
相关标签
  

闽ICP备14008679号