Before configuring the WLAN 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.
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.
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.
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.
Return to the WLAN view.
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 MUs is enabled.
By default, WLAN location for AeroScout MUs is disabled.
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.
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.
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 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.
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 a radio.
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.