< Home

Configuring WLAN Location for AeroScout Tags

Pre-configuration Tasks

Before configuring the WLAN tag 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 undo scan-disable

    The air scan function is enabled.

    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. Run quit

    Return to the WLAN view.

  7. Run radio-2g-profile name profile-name

    Or run 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.

  8. 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.

  9. Run quit

    Return to the WLAN view.

  10. 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.

  11. Run quit

    Return to the WLAN view.

  12. 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.
  13. Run quit

    Return to the WLAN view.

  14. 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.

  15. Run aeroscout tag-enable

    WLAN location for AeroScout tags is enabled.

    By default, WLAN location for AeroScout tags is disabled.

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

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

    By default, no port number is configured for APs to report AeroScout tag 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.

  17. (Optional) 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 the AC is configured to forward location information to the location server.

    • The tags must send signals on the AP's working or scanning channels.
    • To configure the AC as the destination to which the AP reports tag information:
      • Configure the number of the port through which the AC communicates with the AeroScout server.
      • Ensure that the port number configured on the AeroScout server is the same as the number of the port through which the AC communicates with the AeroScout server.
    • To configure the AeroScout server as the destination to which the AP reports tag information, ensure that the port number configured on the AeroScout server is the same as the number of the port through which the AP reports tag information.
    • The port number through which the AP reports tag information cannot be the same as the number of the port through which the AC communicates with the AeroScout server.
    • If the location server uses the Linux system and has URPF enabled, the source IP address that the AC uses to send packets to the location server must be pinged by the server.

  18. (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.

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

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

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

    The AeroScout Tag Server and AC can both send the setting of the tag 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 Tag Server and 4800 seconds on the AC, the aggregation time of 3600 seconds takes effect on the AP.

  20. Run quit

    Return to the WLAN view.

  21. Enter the AP group view or AP 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.

  22. 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.

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

    A location profile is bound to the specified radio on the AP.

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

  24. Run quit

    Return to the WLAN view.

  25. (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 location profile configuration.

Run the display references location-profile name profile-name command to check reference information about a location profile.

Run the display wlan location config-info aeroscout { ap-id ap-id | ap-name ap-name } command to check LBS information of the AP that has successfully received tag information.

Run the display wlan location statistics aeroscout command to check the LBS statistics about AeroScout tags and MUs.

If APs are configured to report AeroScout tag and MU packets to the AeroScout location server directly but not through an AC, the display wlan location statistics aeroscout command cannot display location statistics, and all fields are displayed as "0".

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