当前位置:   article > 正文

华为配置Mesh普通业务示例

华为配置Mesh普通业务示例
 

配置Mesh普通业务示例

组网图形

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

在企业内部各区域通过建立Mesh无线回传链路,实现无线覆盖区域拓展,降低有线部署成本。

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

AP

MAC

area_1

00e0-fc76-e360

area_2

00e0-fc04-b500

area_3

00e0-fc74-9640

表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角色

  • area_1:Mesh-portal(MPP)
  • area_2:Mesh-node(MP)
  • area_3:Mesh-node(MP)

Mesh ID

名称:mesh-net

Mesh白名单

名称:mesh-list

AP系统模板

名称:mesh-sys

Mesh使用的射频

射频1:
  • 带宽:40MHz-plus
  • 信道:157
  • 射频覆盖距离参数:4(单位:100m)

安全模板

  • 名称:mesh-sec
  • 安全策略:WPA2+PSK+AES
  • 密码类型:PASS-PHRASE
  • 密码:a1234567

AP组

  • mesh-mpp:area_1
  • mesh-mp:area_2、area_3
配置思路
  1. 配置网络互通,使区域A的AP(MPP节点)可以通过有线的方式在AC上线。
  2. 配置Mesh业务,使区域B和区域C的AP(MP节点)可以通过Mesh链路在AC上线。
配置注意事项
  • 纯组播报文由于协议要求在无线空口没有ACK机制保障,且无线空口链路不稳定,为了纯组播报文能够稳定发送,通常会以低速报文形式发送。如果网络侧有大量异常组播流量涌入,则会造成无线空口拥堵。为了减小大量低速组播报文对无线网络造成的冲击,建议配置组播报文抑制功能。配置前请确认是否有组播业务,如果有,请谨慎配置限速值。
    • 业务数据转发方式采用直接转发时,建议在直连AP的交换机接口上配置组播报文抑制。
    • 业务数据转发方式采用隧道转发时,建议在AC的流量模板下配置组播报文抑制。
  • 建议在与AP直连的设备接口上配置端口隔离,如果不配置端口隔离,尤其是业务数据转发方式采用直接转发时,可能会在VLAN内形成大量不必要的广播报文,导致网络阻塞,影响用户体验。

  • 隧道转发模式下,管理VLAN和业务VLAN不能配置为同一VLAN,且AP和AC之间只能放通管理VLAN,不能放通业务VLAN。

  • V200R021C00版本开始,配置CAPWAP源接口或源地址时,会检查和安全相关的配置是否已存在,包括DTLS加密的PSK、AC间DTLS加密的PSK、登录AP的用户名和密码、全局离线管理VAP的登录密码,均已存在才能成功配置,否则会提示用户先完成相关的配置。
  • V200R021C00版本开始,AC默认开启CAPWAP控制隧道的DTLS加密功能。开启该功能,添加AP时AP会上线失败,此时需要先开启CAPWAP DTLS不认证方式(capwap dtls no-auth enable)让AP上线,以便AP获取安全凭证,AP上线后应及时关闭该功能(undo capwap dtls no-auth enable),避免未授权AP上线。
操作步骤
  1. 配置周边设备

    # 配置接入交换机Switch_B的GE0/0/1和GE0/0/2接口加入VLAN100,GE0/0/1的缺省VLAN为VLAN100。
    1. <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b123446927190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b106991386190921">sysname Switch_B</strong>
    3. [Switch_B] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1483101958190921">vlan batch 100</strong>
    4. [Switch_B] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1766680330190921">interface gigabitEthernet 0/0/1</strong>
    5. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2072917917190921">port link-type trunk</strong>
    6. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1199674871190921">port trunk pvid vlan 100</strong>
    7. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b926080684190921">port trunk allow-pass vlan 100</strong>
    8. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1315154961190921">port-isolate enable</strong>
    9. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b91915217190921">quit</strong>
    10. [Switch_B] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b334817172190921">interface gigabitEthernet 0/0/2</strong>
    11. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b269487417190921">port link-type trunk</strong>
    12. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1180669919190921">port trunk allow-pass vlan 100</strong>
    13. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1185365409190921">quit</strong></span></span>

    # 配置汇聚交换机Switch_A的GE0/0/1接口加入VLAN100,GE0/0/2接口加入VLAN100。

    1. <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2008707977190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b336764935190921">sysname Switch_A</strong>
    3. [Switch_A] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b460988336190921">vlan batch 100</strong>
    4. [Switch_A] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b325198248190921">interface gigabitEthernet 0/0/1</strong>
    5. [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2055786782190921">port link-type trunk</strong>
    6. [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1669454935190921">port trunk allow-pass vlan 100</strong>
    7. [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b109013257190921">quit</strong>
    8. [Switch_A] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b384431702190921">interface gigabitEthernet 0/0/2</strong>
    9. [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b111014166190921">port link-type trunk</strong>
    10. [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1435899700190921">port trunk allow-pass vlan 100</strong>
    11. [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b984087715190921">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_0180389388__zh-cn_task_0176912386_b496482752190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b442018992190921">sysname AC</strong>
    3. [AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1860759822190921">vlan batch 100</strong>
    4. [AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1782159478190921">interface gigabitEthernet 0/0/1</strong>
    5. [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1239360552190921">port link-type trunk</strong>
    6. [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b450486733190921">port trunk allow-pass vlan 100</strong>
    7. [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b70980578190921">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_0180389388__zh-cn_task_0176912386_b833049920190921">dhcp enable</strong>
    2. [AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b442696569190921">interface vlanif 100</strong>
    3. [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1404198236190921">ip address 10.23.100.1 24</strong>
    4. [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1156371208190921">dhcp select interface</strong>
    5. [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389388__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_0180389388__zh-cn_task_0176912386_b29756888190921">wlan</strong>
    2. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2028859910190921">ap-group name mesh-mpp</strong>
    3. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2113416215190921">quit</strong>
    4. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b144488315190921">ap-group name mesh-mp</strong>
    5. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1737298062190921">quit</strong></span></span>

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

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1239013288190921">regulatory-domain-profile name domain1</strong>
    2. [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1212744998190921">country-code cn</strong>
    3. [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b579577246190921">quit</strong>
    4. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1504827761190921">ap-group name mesh-mpp</strong>
    5. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b426136898190921">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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b17491131153716">y</strong>
    7. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1947448421190921">quit</strong>
    8. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1305484756190921">ap-group name mesh-mp</strong>
    9. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1456175025190921">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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b17491131153716_1">y</strong>
    11. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b553721035190921">quit</strong>
    12. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b123141588190921">quit</strong></span></span>

    # 配置AC的源接口。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_zh-cn_task_0176912382_b1825811008190921">capwap source interface vlanif 100</strong></span></span>
    # 将area_1加入到AP组“mesh-mpp”中,将area_2、area_3加入到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_0180389388__zh-cn_task_0176912386_b933854242190921">wlan</strong>
    2. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b879627621190921">ap auth-mode mac-auth</strong>
    3. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2098855116190921">ap-id 1 ap-mac 00e0-fc76-e360</strong>
    4. [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b356211356190921">ap-name area_1</strong>
    5. [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b901749176190921">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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b1651706244190906">y</strong>
    7. [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b722026881190921">quit</strong>
    8. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b110552275190921">ap-id 2 ap-mac 00e0-fc04-b500</strong>
    9. [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b796220186190921">ap-name area_2</strong>
    10. [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b388091708190921">ap-group mesh-mp</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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b1651706244190906_1">y</strong>
    12. [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b287183531190921">quit</strong>
    13. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1010095375190921">ap-id 3 ap-mac 00e0-fc74-9640</strong>
    14. [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b589673048190921">ap-name area_3</strong>
    15. [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b910033333190921">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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b1651706244190906_2">y</strong>
    17. [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1665155922190921">quit</strong></span></span>
  5. 配置Mesh业务参数

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

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b951061457190921">ap-group name mesh-mpp</strong>
    2. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1382469955190921">radio 1</strong>
    3. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b279802363191016">calibrate auto-channel-select disable</strong>
    4. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1095481633191016">calibrate auto-txpower-select disable</strong>
    5. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1659420930190921">channel 40mhz-plus 157</strong>
    6. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b1384307436190906">y</strong>
    7. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1245610612190921">coverage distance 4</strong>
    8. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1739059147190921">quit</strong>
    9. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b182868222190921">quit</strong>
    10. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1725595159190921">ap-group name mesh-mp</strong>
    11. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b202689365190921">radio 1</strong>
    12. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b105761527185">calibrate auto-channel-select disable</strong>
    13. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1157613271820">calibrate auto-txpower-select disable</strong>
    14. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2032231831190921">channel 40mhz-plus 157</strong>
    15. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b1384307436190906_1">y</strong>
    16. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b822366744190921">coverage distance 4</strong>
    17. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1208175176190921">quit</strong>
    18. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b278144177190921">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_0180389388__zh-cn_task_0176912386_b665599800190921">security-profile name mesh-sec</strong>
    2. [AC-wlan-sec-prof-mesh-sec] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b712856503190921">security wpa2 psk pass-phrase a1234567 aes</strong>
    3. [AC-wlan-sec-prof-mesh-sec] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1348919670190921">quit</strong></span></span>

    # 配置Mesh白名单。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b385089504190921">mesh-whitelist-profile name mesh-list</strong>
    2. [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b434870783190921">peer-ap mac 00e0-fc76-e360</strong>
    3. [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1482143655190921">peer-ap mac 00e0-fc04-b500</strong>
    4. [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1121684890190921">peer-ap mac 00e0-fc74-9640</strong>
    5. [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b198154580190921">quit</strong></span></span>

    # 配置Mesh角色。配置area_1的Mesh角色为“Mesh-portal”,缺省情况下Mesh角色为“Mesh-node”,所以area_2、area_3可以使用默认配置。Mesh角色是通过AP系统模板配置的。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b329532277190921">ap-system-profile name mesh-sys</strong>
    2. [AC-wlan-ap-system-prof-mesh-sys] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b722086947190921">mesh-role Mesh-portal</strong>
    3. [AC-wlan-ap-system-prof-mesh-sys] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b517034351190921">quit</strong></span></span>

    # 配置Mesh模板。配置Mesh网络的ID为“mesh-net”,Mesh链路老化时间为30秒,并引用安全模板和Mesh白名单。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1797607761190921">mesh-profile name mesh-net</strong>
    2. [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b924915376190921">mesh-id mesh-net</strong>
    3. [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1472358388190921">link-aging-time 30</strong>
    4. [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b324913726190921">security-profile mesh-sec</strong>
    5. [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1331050618190921">quit</strong></span></span>

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

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1043386237190921">ap-group name mesh-mpp</strong>
    2. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1679865430190921">radio 1</strong>
    3. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1029606817190921">mesh-whitelist-profile mesh-list</strong>
    4. [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1489253311190921">quit</strong>
    5. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1907341334190921">quit</strong>
    6. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b457359221190921">ap-group name mesh-mp</strong>
    7. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1165169666190921">radio 1</strong>
    8. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1910850818190921">mesh-whitelist-profile mesh-list</strong>
    9. [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b3291658190921">quit</strong>
    10. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b652074516190921">quit</strong></span></span>
  6. 在AP组引用相关模板,使Mesh业务生效

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

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1456579799190921">ap-group name mesh-mpp</strong>
    2. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b700448471190921">ap-system-profile mesh-sys</strong>
    3. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1312055359190921">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_0180389388__zh-cn_task_0176912386_b705955458190921">ap-group name mesh-mpp</strong>
    2. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b638730887190921">mesh-profile mesh-net radio 1</strong>
    3. [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1433562072190921">quit</strong>
    4. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b644544499190921">ap-group name mesh-mp</strong>
    5. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1795148736190921">mesh-profile mesh-net radio 1</strong>
    6. [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b114432195190921">quit</strong>
    7. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1229348210190921">quit</strong>
    8. [AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b659142980190921">quit</strong></span></span>
  7. 验证Mesh业务配置结果

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

    1. <span style="color:#333333"><span style="background-color:#dddddd"><AC> <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1515919952190921">display ap all</strong>
    2. Total AP information:
    3. nor : normal [3]
    4. Extra information: P : insufficient power supply
    5. ----------------------------------------------------------------------------------------------------
    6. ID MAC Name Group IP Type State STA Uptime ExtraInfo
    7. ----------------------------------------------------------------------------------------------------
    8. 1 00e0-fc76-e360 area_1 mesh-mpp 10.23.100.254 AP8130DN <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b204446230190921">nor</strong> 0 13M:45S -
    9. 2 00e0-fc04-b500 area_2 mesh-mp 10.23.100.251 AP8130DN <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b362163700190921">nor</strong> 0 5M:22S -
    10. 3 00e0-fc74-9640 area_3 mesh-mp 10.23.100.253 AP8130DN <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b149401757190921">nor</strong> 0 4M:14S -
    11. ----------------------------------------------------------------------------------------------------
    12. Total: 3 </span></span>

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

    1. <span style="color:#333333"><span style="background-color:#dddddd"><AC> <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1898546643190921">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. area_1 area_2 00e0-fc04-b500 1 4 157 portal normal -30 -27 0 12 67 62/65/-/-
    12. 192 192
    13. area_1 area_3 00e0-fc74-9640 1 4 157 portal normal -26 -24 0 12 71 67/68/-/-
    14. 192 192
    15. area_3 area_2 00e0-fc04-b500 1 4 157 node normal -19 -3 0 5 77 66/76/-/-
    16. 192 192
    17. area_3 area_1 00e0-fc76-e360 1 4 157 node normal -32 -4 0 26 64 55/63/-/-
    18. 192 192
    19. area_2 area_1 00e0-fc76-e360 1 4 157 node normal -32 -4 0 12 64 62/61/-/-
    20. 192 192
    21. area_2 area_3 00e0-fc74-9640 1 4 157 node normal -14 -12 0 4 82 71/82/-/-
    22. 192 192
    23. ----------------------------------------------------------------------------------------------------------------------------------
    24. Total: 6</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. dhcp enable
    7. #
    8. interface GigabitEthernet0/0/1
    9. port link-type trunk
    10. port trunk allow-pass vlan 100
    11. #
    12. interface GigabitEthernet0/0/2
    13. port link-type trunk
    14. port trunk allow-pass vlan 100
    15. #
    16. 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 allow-pass vlan 100
    15. #
    16. 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 %^%#n}5+DgC3wLB.hJ34j5;*QMv<8"9#{Bq@ghBI3L9K%^%# aes
    21. mesh-whitelist-profile name mesh-list
    22. peer-ap mac 00e0-fc76-e360
    23. peer-ap mac 00e0-fc04-b500
    24. peer-ap mac 00e0-fc74-9640
    25. mesh-profile name mesh-net
    26. security-profile mesh-sec
    27. mesh-id mesh-net
    28. link-aging-time 30
    29. regulatory-domain-profile name domain1
    30. ap-system-profile name mesh-sys
    31. mesh-role Mesh-portal
    32. ap-group name mesh-mp
    33. regulatory-domain-profile domain1
    34. radio 1
    35. mesh-profile mesh-net
    36. mesh-whitelist-profile mesh-list
    37. channel 40mhz-plus 157
    38. coverage distance 4
    39. calibrate auto-channel-select disable
    40. calibrate auto-txpower-select disable
    41. ap-group name mesh-mpp
    42. ap-system-profile mesh-sys
    43. regulatory-domain-profile domain1
    44. radio 1
    45. mesh-profile mesh-net
    46. mesh-whitelist-profile mesh-list
    47. channel 40mhz-plus 157
    48. coverage distance 4
    49. calibrate auto-channel-select disable
    50. calibrate auto-txpower-select disable
    51. ap-id 1 type-id 39 ap-mac 00e0-fc76-e360 ap-sn 210235554710CB000042
    52. ap-name area_1
    53. ap-group mesh-mpp
    54. ap-id 2 type-id 39 ap-mac 00e0-fc04-b500 ap-sn 210235557610DB000046
    55. ap-name area_2
    56. ap-group mesh-mp
    57. ap-id 3 type-id 39 ap-mac 00e0-fc74-9640 ap-sn 210235419610D2000097
    58. ap-name area_3
    59. ap-group mesh-mp
    60. #
    61. return </span></span>
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/155873
推荐阅读
  

闽ICP备14008679号