华为配置Mesh普通业务示例

配置Mesh普通业务示例

组网图形

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

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

组网需求
  • AC组网方式:旁挂二层组网
  • 无线回传方式:Mesh portal-node方式
  • 回传射频:5G频段
配置思路
  1. 配置网络互通,使区域A的AP(MPP节点)可以通过有线的方式在AC上线。
  2. 配置Mesh业务,使区域B和区域C的AP(MP节点)可以通过Mesh链路在AC上线。
配置注意事项
操作步骤
  1. 配置周边设备

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

    <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2008707977190921">system-view</strong>
    [HUAWEI] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b336764935190921">sysname Switch_A</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b460988336190921">vlan batch 100</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b325198248190921">interface gigabitEthernet 0/0/1</strong>
    [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2055786782190921">port link-type trunk</strong>
    [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1669454935190921">port trunk allow-pass vlan 100</strong>
    [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b109013257190921">quit</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b384431702190921">interface gigabitEthernet 0/0/2</strong>
    [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b111014166190921">port link-type trunk</strong>
    [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1435899700190921">port trunk allow-pass vlan 100</strong>
    [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。

    <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b496482752190921">system-view</strong>
    [HUAWEI] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b442018992190921">sysname AC</strong>
    [AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1860759822190921">vlan batch 100</strong>
    [AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1782159478190921">interface gigabitEthernet 0/0/1</strong>
    [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1239360552190921">port link-type trunk</strong>
    [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b450486733190921">port trunk allow-pass vlan 100</strong>
    [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地址。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b833049920190921">dhcp enable</strong>
    [AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b442696569190921">interface vlanif 100</strong>
    [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1404198236190921">ip address 10.23.100.1 24</strong>
    [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1156371208190921">dhcp select interface</strong>
    [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组中。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b29756888190921">wlan</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2028859910190921">ap-group name mesh-mpp</strong>
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2113416215190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b144488315190921">ap-group name mesh-mp</strong>
    [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1737298062190921">quit</strong></span></span>

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

    <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>
    [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1212744998190921">country-code cn</strong>
    [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b579577246190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1504827761190921">ap-group name mesh-mpp</strong>
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b426136898190921">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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b17491131153716">y</strong>  
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1947448421190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1305484756190921">ap-group name mesh-mp</strong>
    [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1456175025190921">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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b17491131153716_1">y</strong>  
    [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b553721035190921">quit</strong>
    [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两个射频。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b933854242190921">wlan</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b879627621190921">ap auth-mode mac-auth</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2098855116190921">ap-id 1 ap-mac 00e0-fc76-e360</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b356211356190921">ap-name area_1</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b901749176190921">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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b1651706244190906">y</strong>  
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b722026881190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b110552275190921">ap-id 2 ap-mac 00e0-fc04-b500</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b796220186190921">ap-name area_2</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b388091708190921">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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b1651706244190906_1">y</strong>  
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b287183531190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1010095375190921">ap-id 3 ap-mac 00e0-fc74-9640</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b589673048190921">ap-name area_3</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b910033333190921">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_0180389388__zh-cn_task_0176912386_zh-cn_task_0175818418_b1651706244190906_2">y</strong>  
    [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,用户可以根据实际情况配置该参数。

    <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>
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1382469955190921">radio 1</strong>
    [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b279802363191016">calibrate auto-channel-select disable</strong>
    [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1095481633191016">calibrate auto-txpower-select disable</strong>
    [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1659420930190921">channel 40mhz-plus 157</strong>
    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> 
    [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1245610612190921">coverage distance 4</strong>
    [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1739059147190921">quit</strong>
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b182868222190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1725595159190921">ap-group name mesh-mp</strong>
    [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b202689365190921">radio 1</strong>
    [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b105761527185">calibrate auto-channel-select disable</strong>
    [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1157613271820">calibrate auto-txpower-select disable</strong>
    [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b2032231831190921">channel 40mhz-plus 157</strong>
    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> 
    [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b822366744190921">coverage distance 4</strong>
    [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1208175176190921">quit</strong>
    [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的安全策略。

    <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>
    [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>
    [AC-wlan-sec-prof-mesh-sec] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1348919670190921">quit</strong></span></span>

    # 配置Mesh白名单。

    <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>
    [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b434870783190921">peer-ap mac 00e0-fc76-e360</strong>
    [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1482143655190921">peer-ap mac 00e0-fc04-b500</strong>
    [AC-wlan-mesh-whitelist-mesh-list] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1121684890190921">peer-ap mac 00e0-fc74-9640</strong>
    [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系统模板配置的。

    <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>
    [AC-wlan-ap-system-prof-mesh-sys] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b722086947190921">mesh-role Mesh-portal</strong>
    [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白名单。

    <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>
    [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b924915376190921">mesh-id mesh-net</strong>
    [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1472358388190921">link-aging-time 30</strong>
    [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b324913726190921">security-profile mesh-sec</strong>
    [AC-wlan-mesh-prof-mesh-net] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1331050618190921">quit</strong></span></span>

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

    <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>
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1679865430190921">radio 1</strong>
    [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1029606817190921">mesh-whitelist-profile mesh-list</strong>
    [AC-wlan-group-radio-mesh-mpp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1489253311190921">quit</strong>
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1907341334190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b457359221190921">ap-group name mesh-mp</strong>
    [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1165169666190921">radio 1</strong>
    [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1910850818190921">mesh-whitelist-profile mesh-list</strong>
    [AC-wlan-group-radio-mesh-mp/1] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b3291658190921">quit</strong>
    [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上生效。

    <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>
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b700448471190921">ap-system-profile mesh-sys</strong>
    [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业务生效。

    <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>
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b638730887190921">mesh-profile mesh-net radio 1</strong>
    [AC-wlan-ap-group-mesh-mpp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1433562072190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b644544499190921">ap-group name mesh-mp</strong>
    [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1795148736190921">mesh-profile mesh-net radio 1</strong>
    [AC-wlan-ap-group-mesh-mp] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b114432195190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389388__zh-cn_task_0176912386_b1229348210190921">quit</strong>
    [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已成功上线。

    <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>
    Total AP information:       
    nor  : normal          [3]  
    Extra information: P  : insufficient power supply
    ----------------------------------------------------------------------------------------------------
    ID   MAC            Name Group     IP              Type            State STA Uptime      ExtraInfo
    ----------------------------------------------------------------------------------------------------
    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     -
    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      -
    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      -
    ----------------------------------------------------------------------------------------------------
    Total: 3    </span></span>

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

    <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>
    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)
    ----------------------------------------------------------------------------------------------------------------------------------
    area_1          area_2          00e0-fc04-b500  1  4     157     portal  normal          -30   -27   0    12   67    62/65/-/-
    192         192  
    area_1          area_3          00e0-fc74-9640  1  4     157     portal  normal          -26   -24   0    12   71    67/68/-/-
    192         192  
    area_3          area_2          00e0-fc04-b500  1  4     157     node    normal          -19   -3    0    5    77    66/76/-/-
    192         192  
    area_3          area_1          00e0-fc76-e360  1  4     157     node    normal          -32   -4    0    26   64    55/63/-/-
    192         192  
    area_2          area_1          00e0-fc76-e360  1  4     157     node    normal          -32   -4    0    12   64    62/61/-/-
    192         192  
    area_2          area_3          00e0-fc74-9640  1  4     157     node    normal          -14   -12   0    4    82    71/82/-/-
    192         192  
    ----------------------------------------------------------------------------------------------------------------------------------
    Total: 6</span></span>
配置文件
  • Switch_A的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname Switch_A
    #vlan batch 100
    #
    dhcp enable 
    #
    interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 100
    #
    interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 100
    #
    return</span></span>
  • Switch_B的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname Switch_B
    #vlan batch 100
    #
    interface GigabitEthernet0/0/1port link-type trunkport trunk pvid vlan 100port trunk allow-pass vlan 100port-isolate enable group 1 
    #
    interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 100
    #
    return</span></span>
  • AC的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#sysname AC
    #vlan batch 100
    #
    dhcp enable
    #
    interface Vlanif100ip address 10.23.100.1 255.255.255.0dhcp select interface
    #
    interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 100
    #
    capwap source interface vlanif100
    #
    wlansecurity-profile name mesh-secsecurity wpa2 psk pass-phrase %^%#n}5+DgC3wLB.hJ34j5;*QMv<8"9#{Bq@ghBI3L9K%^%# aesmesh-whitelist-profile name mesh-listpeer-ap mac 00e0-fc76-e360peer-ap mac 00e0-fc04-b500peer-ap mac 00e0-fc74-9640mesh-profile name mesh-netsecurity-profile mesh-secmesh-id mesh-netlink-aging-time 30regulatory-domain-profile name domain1ap-system-profile name mesh-sysmesh-role Mesh-portalap-group name mesh-mpregulatory-domain-profile domain1radio 1 mesh-profile mesh-net  mesh-whitelist-profile mesh-list   channel 40mhz-plus 157    coverage distance 4  calibrate auto-channel-select disablecalibrate auto-txpower-select disableap-group name mesh-mppap-system-profile mesh-sysregulatory-domain-profile domain1radio 1   mesh-profile mesh-net  mesh-whitelist-profile mesh-list channel 40mhz-plus 157  coverage distance 4 calibrate auto-channel-select disablecalibrate auto-txpower-select disableap-id 1 type-id 39 ap-mac 00e0-fc76-e360 ap-sn 210235554710CB000042            ap-name area_1                                                                  ap-group mesh-mpp ap-id 2 type-id 39 ap-mac 00e0-fc04-b500 ap-sn 210235557610DB000046            ap-name area_2                                                                  ap-group mesh-mp ap-id 3 type-id 39 ap-mac 00e0-fc74-9640 ap-sn 210235419610D2000097            ap-name area_3                                                                  ap-group mesh-mp 
    #
    return  </span></span>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/704079.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

sqllabs的order by注入

当我们在打开sqli-labs的46关发现其实是个表格&#xff0c;当测试sort等于123时&#xff0c;会根据列数的不同来进行排序 我们需要利用这个点来判断是否存在注入漏洞&#xff0c;通过加入asc 和desc判断页面有注入点 1、基于使用if语句盲注 如果我们配合if函数&#xff0c;表达…

面试经典150题——存在重复元素 II

​"The harder you work for something, the greater youll feel when you achieve it." - Unknown 1. 题目描述 2. 题目分析与解析 2.1 思路一——暴力求解 该思路很简单&#xff0c;就是暴力的查找每一个元素&#xff0c;查看是否满足题目要求&#xff0c;满足就…

Darkhole 2

kali:192.168.223.128 靶机:192.168.223.152 主机发现 nmap -sP 192.168.223.0/24 端口扫描 nmap -sV -p- -A 192.168.223.152 开启了22 80 端口 web 进入登录界面发现没有注册按钮了 扫一下目录 gobuster dir -u http://192.168.223.152 -x html,txt,php,bak,zip,git --wor…

单片机精进之路-5矩阵键盘扫描

如下图&#xff0c;先在p3口输出0xfe&#xff0c;再读取p3口的电平&#xff0c;如果没有按键按下&#xff0c;temp & 0xf0还是0xf0&#xff0c;如果又第一个键按下&#xff0c;temp & 0xf0还是0xee&#xff0c;其他按键由此类推可得。 //4*4键盘检测程序,按下键后相应…

Linux的文件操作,重拳出击( ̄︶ ̄)

Linux的文件操作 学习Linux的文件操作&#xff0c;一般需要知道一个文件如果你想要操作他&#xff0c;必须知道你对这个文件有什么操作的权限或者修改你自己对文件操作的权限。必须要知道文件有三种权限 r&#xff1a;可读 w&#xff1a;可写 x&#xff1a;可执行 在打开Linux…

✅鉴权—cookie、session、token、jwt、单点登录

基于 HTTP 的前端鉴权背景cookie 为什么是最方便的存储方案&#xff0c;有哪些操作 cookie 的方式session 方案是如何实现的&#xff0c;存在哪些问题token 是如何实现的&#xff0c;如何进行编码和防篡改&#xff1f;jwt 是做什么的&#xff1f;refresh token 的实现和意义ses…

《C++面向对象程序设计》✍学习笔记

C的学习重点 C 这块&#xff0c;重点需要学习的就是一些关键字、面向对象以及 STL 容器的知识&#xff0c;特别是 STL&#xff0c;还得研究下他们的一些源码&#xff0c;下面是一些比较重要的知识&#xff1a; 指针与引用的区别&#xff0c;C 与 C 的区别&#xff0c;struct 与…

网络技术ensp 一个简单的交换机配置案例

由于工作调岗&#xff0c;转战网络运维了&#xff0c;第一次网络笔记 1.&#xff0c;目的&#xff1a;2台主机相互可以ping通&#xff0c;并且可以ping通网关地址&#xff0c;设备&#xff1a;2台主机&#xff0c;2台交换机 2网络拓扑图如下 3.主机pc1的配置信息 ip&#xff…

Xcode与Swift开发小记

文章目录 引子Xcode工程结构核心概念Swift语法速记(TODO)小技巧单元测试中使用awaitSwiftUI中使用ListView中取数据 常见问题Xcode添加package时连接github超时Xcode无法修改快捷键&#xff0c;一闪而过 引子 鉴于React Native目前版本在iOS上开发遇到诸多问题&#xff0c;本以…

前端取图片相同颜色作为遮罩或者背景

需求 遮罩层取图片相同/相似的颜色作为遮罩 效果 做法 npm库 grade.js 所提供图像中前 2 个主色生成的互补渐变https://github.com/benhowdle89/grade COLOR THIEF 只需使用Javascript即可从图像中获取调色板。 https://github.com/lokesh/color-thief https://lokeshd…

AIGC专栏9——Scalable Diffusion Models with Transformers (DiT)结构解析

AIGC专栏9——Scalable Diffusion Models with Transformers &#xff08;DiT&#xff09;结构解析 学习前言源码下载地址网络构建一、什么是Diffusion Transformer (DiT)二、DiT的组成三、生成流程1、采样流程a、生成初始噪声b、对噪声进行N次采样c、单次采样解析I、预测噪声I…

kitti数据显示

画出track_id publish_utils.py中 def publish_3dbox(box3d_pub, corners_3d_velos, types, track_ids):marker_array MarkerArray()for i, corners_3d_velo in enumerate(corners_3d_velos):marker Marker()marker.header.frame_id FRAME_IDmarker.header.stamp rospy.T…

Pytorch训练RCAN QAT超分模型

Pytorch训练RCAN QAT超分模型 版本信息测试步骤准备数据集创建容器生成文件列表创建文件列表的代码执行脚本,生成文件列表训练RCAN模型准备工作修改开源代码编写训练代码执行训练脚本可视化本文以RCAN超分模型为例,演示了QAT的训练过程,步骤如下: 先训练FP32模型再加载FP32训练…

【随笔】固态硬盘数据删除无法恢复(开启TRIM),注意数据备份

文章目录 一、序二、机械硬盘和固态硬盘的物理结构与工作原理2.1 机械硬盘2.11 基本结构2.12 工作原理 2.2 固态硬盘2.21 基本结构2.22 工作原理 三、机械硬盘和固态硬盘的垃圾回收机制3.1 机械硬盘GC3.2 固态硬盘GC3.3 TRIM指令开启和关闭 四、做好数据备份 一、序 周末电脑突…

【Qt学习】QLineEdit 控件 属性与实例(登录界面,验证密码,正则表达式)

文章目录 1. 介绍2. 实例使用2.1 登录界面2.2 对比两次密码是否相同2.3 通过按钮显示当前输入的密码&#xff08;并对2.2进行优化&#xff09;2.4 结语 3. 正则表达式3.1 QRegExp3.2 验证输入内容 4. 资源代码 1. 介绍 关于 QLineEdit 的详细介绍&#xff0c;可以去查阅官方文…

[计算机网络]--IP协议

前言 作者&#xff1a;小蜗牛向前冲 名言&#xff1a;我可以接受失败&#xff0c;但我不能接受放弃 如果觉的博主的文章还不错的话&#xff0c;还请点赞&#xff0c;收藏&#xff0c;关注&#x1f440;支持博主。如果发现有问题的地方欢迎❀大家在评论区指正 目录 一、IP协议…

202432读书笔记|《泰戈尔的诗》——什么事让你大笑,我生命的小蓓蕾

202432读书笔记|《泰戈尔的诗》——什么事让你大笑&#xff0c;我生命的小蓓蕾 《泰戈尔写给孩子的诗&#xff08;中英双语版&#xff09;》作者拉宾德拉纳特泰戈尔文 张王哲图&#xff0c;图文并茂的一本书&#xff0c;文字与图画都很美&#xff0c;相得益彰&#xff01;很值得…

【Memory协议栈】EEPROM Abstraction模块详细介绍

目录 前言 正文 1.功能简介 2.关键概念 3.功能详解 3.1 Addressing scheme and segmentation 3.2 Address calculation 3.3 Limitation of erase / write cycles 3.4 Handling of “immediate” data 3.5 Managing block consistency information 4.关键API定义 4.…

学习磁盘管理

文章目录 一、磁盘接口类型二、磁盘设备的命名三、fdisk分区四、自动挂载五、扩容swap六、GPT分区七、逻辑卷管理八、磁盘配额九、RAID十、软硬链接 一、磁盘接口类型 IDE、SATA、SCSI、SAS、FC&#xff08;光纤通道&#xff09; IDE, 该接口是并口。SATA, 该接口是串口。SCS…