Before configuring the WLAN tag location function, perform the tasks listed in the following table.
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:
|
The system view is displayed.
The WLAN view is displayed.
An air scan profile is created and the air scan profile view is displayed.
By default, the system provides the air scan profile default.
The air scan function is enabled.
By default, the air scan function is enabled.
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.
Return to the WLAN view.
Or run radio-5g-profile name profile-name
The radio profile view of the specified AP is displayed.
The air scan profile is bound to the radio profile.
By default, the air scan profile default is bound to a radio profile.
Return to the WLAN view.
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.
Return to the WLAN view.
Return to the WLAN view.
A location profile is created and the location profile view is displayed.
By default, no location profile is created.
WLAN location for AeroScout tags is enabled.
By default, WLAN location for AeroScout tags is disabled.
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.
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 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.
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.
Return to the WLAN view.
Or run radio-5g-profile profile-name { radio { radio-id | all } }
A radio profile is bound to the AP group or AP.
A location profile is bound to the specified radio on the AP.
By default, no location profile is bound to a radio.
Return to the WLAN view.
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.
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".