< Home

Configuring WLAN Location for AeroScout MUs

Pre-configuration Tasks

Before configuring the WLAN location function, perform the tasks listed in the following table.

Table 1 Pre-configuration tasks

Task

Description

Create an AP group

Each AP will be added and can be added to only one AP group. An AP group is typically used to provide the same configurations for multiple APs. By default, the system has an AP group default. To create an AP group, execute this task. For details, see Creating an AP Group.

Configure an AP to go online

Configure a DHCP server

To go online normally, APs and STAs must obtain IP addresses. You can configure an AC as a DHCP server or use an independent DHCP server to allocate IP addresses to APs and STAs. For details, see Configuring a DHCP Server.

Configure network interconnections

To enable APs and STAs to obtain IP addresses, APs to discover the AC and go online on the AC, and STAs to access the network, configure interconnections between network devices. For details, see Configuring Network Interconnections.

Configure country codes

Correct country code configuration ensures that radio attributes of APs comply with laws and regulations of countries and regions to which the APs are delivered. For details, see Configuring Country Codes.

Configure a source interface or source address

Before an AP establishes a CAPWAP tunnel with an AC, a source interface or source address must be specified for the AC. For details, see Configuring a Source Interface.

Add APs

You can add APs in any of the following modes:
  • Importing APs offline.
  • Configuring AC to automatically discover an AP.
  • Manually confirming APs added to the list of unauthorized APs.
Adding an AP offline is recommended when the MAC address or SN of the AP is already learned. For details, see Adding APs.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run air-scan-profile name profile-name

    An air scan profile is created and the air scan profile view is displayed.

    By default, the system provides the air scan profile default.

  4. Run the undo scan-disable command to enable the air scan function.

    By default, the air scan function is enabled.

  5. Run scan-channel-set { country-channel | dca-channel | work-channel

    An air scan channel set is configured.

    By default, an air scan channel set contains all channels supported by the country code of an AP.

  6. (Optional) Run scan-period scan-time

    The period during which the AP scans channels is configured.

    The default period during which an AP scans channels is 60 ms.

    The channel scan period applies to radio calibration, smart roaming, WLAN location, and WIDS functions.

    A shorter channel scan period means fewer location packets that the device can obtain, which affects the location accuracy. A longer channel scan period has a much larger impact on services.

  7. (Optional) Run scan-interval scan-time

    The interval at which the AP scans channels is configured.

    By default, the air scan interval is 10000 ms.

    The channel scan interval applies to radio calibration, smart roaming, WLAN location, and WIDS functions.

    • If the customer has high requirements on real-time data analysis, configure a small air scan interval using the scan-interval command to improve the scan frequency; however, higher scan frequency indicates much larger impact on the services.

    • If the customer has high requirements on real-time locating services, deploy the APs on the same channel to scan channels.

  8. Run quit

    Return to the WLAN view.

  9. Run radio-2g-profile name profile-name or radio-5g-profile name profile-name

    The radio profile view of the specified AP is displayed.

    • By default, the system provides the 2G radio profile default.
    • By default, the system provides the 5G radio profile default.

  10. Run air-scan-profile profile-name

    The air scan profile is bound to the radio profile.

    By default, the air scan profile default is bound to a radio profile.

  11. Run quit

    Return to the WLAN view.

  12. Run vap-profile name profile-name

    A VAP profile is created.

    By default, the system provides the VAP profile default.

    When a VAP profile exists in the system, you can use the existing one or create a new one.

  13. Run quit

    Return to the WLAN view.

  14. Bind the VAP profile to radios of an AP group or a specific AP as required to make the radios properly work. For details, see Binding VAP Profiles.
  15. Run quit

    Return to the WLAN view.

  16. Run location-profile name profile-name

    A location profile is created and the location profile view is displayed.

    By default, no location profile is created.

  17. Run aeroscout mu-enable

    WLAN location for AeroScout MUs is enabled.

    By default, WLAN location for AeroScout MUs is disabled.

  18. Run aeroscout server port port-num [ via-ac ac-port ac-port-num ]

    A port number is configured for APs to report AeroScout MU location packets.

    By default, no port number is configured for APs to report AeroScout MU location packets.

    An AeroScout server proactively establishes connections with APs. Therefore, manually add the APs and specify their MAC addresses, port numbers, and IP addresses on the AeroScout server. If the AC is configured to forward location data, you only need to specify the AC IP address. You do not need to specify the IP address of the AeroScout server on the AC.

  19. Run source ip-address ip-address

    The source IP address from which the AC sends packets to the AeroScout location server is configured.

    By default, the source IP address from which the AC sends packets to the AeroScout location server is not configured.

    You need to run this command only when location information is forwarded to the location server via an AC. This command is not required if the AP reports the alarm directly.

    • To configure the AC as the destination to which the AP reports MU information:
      • Configure the port number used by the AC to communicate with the AeroScout location server.
      • Ensure that the port number configured on the AeroScout location server is the same as the number of the port through which the AC communicates with the AeroScout location server.
    • To configure the AeroScout location server as the destination to which the AP reports MU information, ensure that the port number configured on the AeroScout location server is the same as the number of the port through which the AP reports MU information.
    • The port number through which the AP reports MU information cannot be the same as the number of the port through which the AC communicates with the AeroScout location server.
    • If the location server runs the Linux system and has unicast reverse path forwarding (URPF) enabled, the server must be able to successfully ping the source IP address used by the AC to send packets.

  20. (Optional) Run aeroscout local ip-address ip-address

    The local IP address used by the AC to receive packets from the location server is configured.

    By default, the source IP address used by the AC to receive packets from the location server is not configured.

    This command is mandatory if location information is reported to the location server through the AC. If location information is directly reported by APs, you do not need to configure this command.

  21. (Optional) Run aeroscout compound-time time-value

    The aggregation time of AeroScout MU packets is configured on the AC.

    The default aggregation time of AeroScout MU packets is 6553.5s on the AC.

    The AeroScout location server and AC can both send the setting of the MU packet aggregation time to the AP; however, the shorter aggregation time takes effect on the AP.For example, if the aggregation time is set to 3600 seconds on the AeroScout location server and 4800 seconds on the AC, the aggregation time of 3600 seconds takes effect on the AP.

  22. Run quit

    Return to the WLAN view.

  23. Enter the AP view or AP group view.

    • Run the ap-group name group-name command to enter the AP group view.
    • Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.

  24. Run radio-2g-profile profile-name { radio { radio-id | all } }

    Or run radio-5g-profile profile-name { radio { radio-id | all } }

    A radio profile is bound to the AP group or AP.

    • By default, the 2G radio profile default is bound to an AP group, but no 2G radio profile is bound to an AP.
    • By default, the 5G radio profile default is bound to an AP group, but no 5G radio profile is bound to an AP.

  25. Run location-profile profile-name radio { radio-id | all }

    A location profile is bound to a radio.

    By default, no location profile is bound to a radio.

  26. Run quit

    Return to the WLAN view.

  27. (Optional) Run location source ip-address ip-address

    The source IP address in packets sent by an AC to a location server is configured.

    By default, the source IP address is not configured in packets sent by an AC to a location server.

    In scenarios where the active and standby ACs are deployed, configure the source IP address on the standby AC using the location source command cannot be synchronized to the standby AC. When source IP addresses are configured on an AC using the location source and source commands at the same time, the source IP address configured using the source command takes effect.

Verifying the Configuration

  • Run the display location-profile name profile-name command to check the configuration for AeroScout MU location.

  • Run the display references location-profile name profile-name command to check reference information about a location profile.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >