< Home

Configuring a Mesh Role and Mesh Profile

Context

On a Mesh network shown in Figure 1, you need to deploy APs as MPPs or MPs based on AP locations.

  • mesh-portal (MPP): an MP that connects to a WMN or another type of network. An MPP connects Mesh nodes to external networks. Each WMN has at least one MPP.

    You are not advised to configure access VAPs on an MPP to ensure a high throughput.

  • mesh-node (MP): a node that provides both mesh service and user access service. All nodes except MPPs on a WMN are MPs.
Figure 1 Mesh networking diagram

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run ap-system-profile name profile-name

    The AP system profile view is displayed.

    By default, the system provides the AP system profile default.

  4. Run mesh-role { mesh-portal | mesh-node }

    A Mesh role is configured.

    By default, the Mesh role of an AP is mesh-node in the AP system profile.

  5. Run quit

    Return to the WLAN view.

  6. Run mesh-profile name profile-name

    A Mesh profile is created, and the Mesh profile view is displayed.

    By default, the system provides the Mesh profile default.

  7. Run mesh-id name

    A Mesh ID is configured. Mesh nodes use a Mesh ID to identify connections between them.

    By default, the Mesh ID of a Mesh profile is HUAWEI-WLAN-MESH.

  8. Run security-profile profile-name

    A security profile is bound to the Mesh profile.

    By default, the security profile default-mesh is bound to a Mesh profile.

    By default, the system provides the Mesh profile default. Both the default Mesh profile default and a self-defined Mesh profile have the security profile default-mesh referenced by default. In the security profile default-mesh, the security policy is set to WPA2+PSK+AES and the security key to huawei_secmesh. If the default security profile default-mesh is used, you are advised to change the security key of the profile to ensure security.

  9. (Optional) Improve channel usage efficiency.

    1. Run the beacon-2g-rate beacon-2g-rate command to set the transmit rate of 2.4 GHz Beacon frames.

      By default, the transmit rate of 2.4 GHz Beacon frames is 1 Mbit/s.

    2. Run the beacon-5g-rate beacon-5g-rate command to set the transmit rate of 5 GHz Beacon frames.

      By default, the transmit rate of 5 GHz Beacon frames is 6 Mbit/s.

  10. (Optional) Run max-link-number link-num

    The maximum number of Mesh links allowed on an AP is configured.

    By default, a maximum of eight mesh links can be established between APs. After you enable FWA for a mesh profile using the fwa enable command, a maximum of 32 mesh links can be established between APs by default.

  11. (Optional) Run link-rssi-threshold threshold-value

    The RSSI threshold of a Mesh link is configured. When the minimum RSSI of all Mesh links on the optimal route to the current MPP is lower than the RSSI threshold of a Mesh link, the MP reselects Mesh links.

    By default, the RSSI threshold of a mesh link is -75 dBm. After the FWA mode is enabled in a Mesh profile, the RSSI threshold of a Mesh link is fixed as -90 dBm.

  12. (Optional) Run link-aging-time aging-time

    The aging time of a Mesh link is specified.

    The default aging time of a Mesh link is 60 seconds.

  13. (Optional) Run link-report-interval report-interval

    The interval at which an MP reports Mesh link information to an AC is specified.

    By default, an MP reports Mesh link information to the AC at an interval of 30 seconds.

  14. (Optional) Run dhcp trust port

    A DHCP trusted port is enabled in the Mesh profile.

    By default, a DHCP trusted port is enabled in a Mesh profile.

    After a DHCP trusted port is enabled in a Mesh profile and the Mesh profile is applied to an AP, the AP receives the DHCP OFFER, ACK, and NAK packets sent by authorized DHCP servers and forwards the packets to STAs so that the STAs can obtain valid IP addresses and go online.

  15. (Optional) Run nd trust port

    An ND trusted port is enabled in the Mesh profile.

    By default, an ND trusted port is enabled in a Mesh profile.

    After an ND trusted port is enabled in a Mesh profile and the Mesh profile is applied to an AP, the AP receives valid ND protocol packets and forwards the packets to STAs or peer APs so that the STAs can obtain valid IPv6 addresses and go online.

  16. (Optional) Run priority-map trust { dot1p | dscp }

    The priority mapping trusted by the Mesh air interface is configured.

    By default, the Mesh air interface trusts the mapping from DSCP priorities to 802.11e user priorities.

  17. (Optional) Run priority-map dscp { dscp-value1 [ to dscp-value2 ] } &<1-10> dot11e dot11e-value

    The Mesh air interface to be configured to trust the mapping from DSCP priorities to 802.11e user priorities.

    Table 1 describes the mapping from DSCP priorities to 802.11e user priorities by default.
    Table 1 Mapping from DSCP priorities to 802.11e user priorities

    DSCP Priority

    802.11e User Priority

    0-7

    0

    8-15

    1

    16-23

    2

    24-31

    3

    32-39

    4

    40-47

    5

    48-55

    6

    56-63

    7

  18. Run quit

    Return to the WLAN view.

  19. Run ap-system-profile name profile-name

    An AP system profile is created, and the AP system profile view is displayed.

    By default, the system provides the AP system profile default.

  20. (Optional) Run mpp-active-reselection enable

    Active MPP reselection is enabled.

    By default, active MPP reselection is disabled.

  21. Run quit

    Return to the WLAN view.

  22. Apply the Mesh profile. You can use any of the following methods according to actual situations:

    • Bind the Mesh profile to an AP group.

      1. Run the ap-group name group-name command to enter the AP group view.

      2. Run the mesh-profile profile-name radio { all | radio-id } command to bind the Mesh profile to the AP group.

        By default, no Mesh profile is bound to an AP group or AP.

        A Mesh link uses the VAP with the WLAN ID 16, which cannot be occupied by other WLAN services.
    • Bind the Mesh profile to an AP.

      1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
      2. Run the mesh-profile profile-name radio { all | radio-id } command to bind the Mesh profile to the AP.

        By default, no Mesh profile is bound to an AP group or AP.

        A Mesh link uses the VAP with the WLAN ID 16, which cannot be occupied by other WLAN services.
    • Bind the Mesh profile to AP group radios.

      1. Run the ap-group name group-name command to enter the AP group view.
      2. Run the radio radio-id command to enter the radio view.
      3. Run the mesh-profile profile-name command to bind the Mesh profile to AP group radios.

        By default, no Mesh profile is bound to an AP radio.

        A Mesh link uses the VAP with the WLAN ID 16, which cannot be occupied by other WLAN services.
    • Bind the Mesh profile to an AP radio.

      1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
      2. Run the radio radio-id command to enter the radio view.
      3. Run the mesh-profile profile-name command to bind the Mesh profile to the AP radio.

        By default, no Mesh profile is bound to an AP radio.

        A Mesh link uses the VAP with the WLAN ID 16, which cannot be occupied by other WLAN services.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >