Before configuring Wi-Fi terminal location, 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.
You can set the radio working mode in the AP radio view or AP group radio view. The configuration in the AP group radio view takes effect on all AP radios in an AP group and that in the AP radio view takes effect only on a specified AP radio. The configuration in the AP radio view has a higher priority than that in the AP group radio view.
Run the work-mode { normal | monitor [ [ proxy-scan ] dual-band-scan enable ] } command to set the working mode for radios in an AP group.
By default, radios in an AP group work in normal mode.
Run the work-mode { normal | monitor [ [ proxy-scan ] dual-band-scan enable ] } command to set the working mode for a specified AP radio.
By default, an AP radio works in normal mode.
In this mode, the radio can only transmit WLAN services scanned by the air interface but cannot transmit common WLAN services.
Return to the WLAN view.
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.
To use the Wi-Fi terminal location function to locate unauthorized STAs, rogue APs and bridges, and ad-hoc devices, you need to enable WIDS. To use the Wi-Fi terminal location function to locate authorized STAs, you do not need to enable WIDS.
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.
Wi-Fi terminal location is enabled on the AP.
Locating a STA requires at least three APs to scan signals on the WLAN.
By default, Wi-Fi terminal location is disabled on an AP.
The interval at which the AP reports channel scan information is configured.
By default, an AP reports channel scan information every 20s (20000 ms).
The protocol type used by APs to report information is configured.
By default, an AP uses UDP to reports information.
The STA location protocol version is configured.
The default terminal location protocol version is v3.
The destination IP address and port number are configured for the AP to report STA location data.
By default, no destination IP address or port number is configured for the AP to report STA location data.
The source IP address from which the AC sends packets to the Location Server is configured.
By default, the source IP address from which the AC sends packets to the Location Server is not configured.
Return to the WLAN view.
The radio profile is bound to the AP group or AP.
The 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.