Example for Configuring AeroScout Wi-Fi Tag Location
Service Requirements
The administrator needs to trace locations of materials in the coverage area of a WLAN. With the Wi-Fi tag location solution of AeroScout, the administrator does not need to deploy additional information collection points. Tags can periodically send 802.11 protocol-compliant signals. When scanning the signals from the tags, APs report the information to the location server. The location server then calculates the locations of the tags. In this manner, the administrator can view locations and historical tracks of the materials on the map.
For details about how to configure basic WLAN services, see WLAN Basic Networking Configuration Examples.
Networking Requirements
An AeroScout location server is deployed on the network and can communicate with the AC.
AeroScout Wi-Fi tags that have been activated are installed on materials to be traced within the coverage area of the WLAN.
Data Planning
Item |
Data |
---|---|
AC |
- |
Interface connecting the AC to the server |
GE0/0/2: VLAN 102 VLANIF 102: 10.23.102.2 |
Route connecting the AC to the server |
Destination address: 10.23.103.1 Next-hop address: 10.23.102.1 (address of VLANIF 102 on Router) |
AP group |
Name: ap-group1 |
Air scan profile |
|
2G radio profile |
|
Location profile |
|
AeroScout product |
- |
Tag |
Sends signals through channels 1, 6, and 11 |
Location server |
IP address: 10.23.103.1 Port number: 1144 |
Configuration Roadmap
- Activate the AeroScout tag and configure the AeroScout location server.
- Configure the AC to communicate with the AeroScout location server. Plan an IP address for the AC to send received tag information to the location server.
- Configure the air scan function on the AC. Tags work on the 2.4 GHz band. Enable air scan on the 2.4 GHz radios of APs. If automatic radio calibration is enabled, set the channel set to within the range supported by the country code to cover available channels used by the tags. If only the tag location service is required, configure radios to work on fixed channels and set the air scan channel set to the working channels.
- Configure the AeroScout tag location function on the AC.
Configuration Notes
When activating a tag, ensure that the channel through which the tag sends signals can be scanned by APs.
Three-point location technology is used. To ensure location accuracy, ensure no more than 15 m distance between APs. The location accuracy is good when the RSSI is higher than -50 dBm.
When APs are not heavily loaded, it is recommended that the AC report tag information. In this case, set APs' IP addresses on the AeroScout location server to the AC's IP address. To configure APs to directly report tag information, specify the APs' IP addresses on the AeroScout location server based on the actual situation.
Procedure
- Configure AeroScout products.
# On the PC, install the Tag Manager software and connect a tag activator to the PC. Deploy the tag within the coverage of the activator. After configuring the tag, fix it to the materials.
# Install the AeroScout Engine software on the AeroScout server to configure it as the location server. After the software is installed, open the management system on the server and add information about the map and APs. If the AC has been configured, you can check information about properly running APs (marked in green) on the AC. You can click the location startup button on the page.
For details about install and configure AeroScout products, see the configuration guide of the corresponding products.
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.
- Configure the AC to communicate with the location server.# Configure Router. Create VLAN 102, add GE1/0/0 to VLAN 102, and configure VLANIF 102 to communicate with the AC.
<Router> system-view [Router] vlan 102 [Router-vlan102] quit [Router] interface gigabitethernet 1/0/0 [Router-GigabitEthernet1/0/0] port trunk allow-pass vlan 102 [Router-GigabitEthernet1/0/0] quit [Router] interface vlanif 102 [Router-Vlanif102] ip address 10.23.102.1 24
# Configure the AC. Create VLAN 102, add GE0/0/2 to VLAN 102, and configure VLANIF 102 to communicate with Router.<AC> system-view [AC] vlan 102 [AC-vlan102] quit [AC] interface gigabitethernet 0/0/2 [AC-GigabitEthernet0/0/2] port trunk allow-pass vlan 102 [AC-GigabitEthernet0/0/2] quit [AC] interface vlanif 102 [AC-Vlanif102] ip address 10.23.102.2 24 [AC-Vlanif102] quit
# On the AC, create a static route destined for the location server, with the next hop as Router.[AC] ip route-static 10.23.103.1 32 10.23.102.1
# Ping the location server from the AC. If the ping operation succeeds, the AC can properly communicate with the location server.[AC] ping 10.23.103.1 PING 10.23.102.2: 56 data bytes, press CTRL_C to break Reply from 10.23.103.1: bytes=56 Sequence=1 ttl=255 time=1 ms
- Check the basic WLAN configuration on the AC.
Check Item
Command
Data
Check the AP group to which an AP belongs.
display ap all
AP group: ap-group1
AP name: AP1, AP2, AP3...
Check profiles referenced by the AP group.
display ap-group name xxx
Radio 0:- 2G radio profile: wlan-radio-2g
- Location profile: null
Check profiles referenced by the 2G radio profile.
display radio-2g-profile name xxx
Air scan profile: wlan-air-scan
- If the configuration of an AP is different from that in the AP group, the configuration of the AP takes precedence.
- A new profile takes effect only after being bound to an AP or an AP group.
- Configure the air scan function on the AC.# Enter the air scan profile wlan-air-scan and configure an air scan channel set. By default, an air scan channel set contains all channels supported by the corresponding country code of an AP.
[AC] wlan [AC-wlan-view] air-scan-profile name wlan-air-scan [AC-wlan-air-scan-prof-wlan-air-scan] scan-channel-set country-channel [AC-wlan-air-scan-prof-wlan-air-scan] quit
# Enter the 2G radio profile wlan-radio-2g and bind it to the air scan profile.[AC-wlan-view] radio-2g-profile name wlan-radio-2g [AC-wlan-radio-2g-prof-wlan-radio-2g] air-scan-profile wlan-air-scan [AC-wlan-radio-2g-prof-wlan-radio-2g] quit
# Enter the AP group ap-group1 and bind it to the 2G radio profile.[AC-wlan-view] ap-group name ap-group1 [AC-wlan-ap-group-ap-group1] radio-2g-profile wlan-radio-2g radio 0 Warning: This action may cause service interruption. Continue?[Y/N]y [AC-wlan-ap-group-ap-group1] quit
- Configure the AeroScout tag location function on the AC.# Create the location profile wlan-location, enable the AeroScout tag location function, and configure the mode in which location information is reported.
[AC-wlan-view] location-profile name wlan-location [AC-wlan-location-prof-wlan-location] aeroscout tag-enable [AC-wlan-location-prof-wlan-location] aeroscout server port 1144 via-ac ac-port 10001 Warning: Port number 1145 is recommended for communication with an AC. Otherwise , the AP may fail to communicate with the AC. Continue?(y/n):y [AC-wlan-location-prof-wlan-location] source ip-address 10.23.102.2 [AC-wlan-location-prof-wlan-location] quit
# Enter the AP group ap-group1 and bind it to the location profile.[AC-wlan-view] ap-group name ap-group1 [AC-wlan-ap-group-ap-group1] location-profile wlan-location radio 0 Warning: This action may cause service interruption. Continue?[Y/N]y [AC-wlan-ap-group-ap-group1] quit
- Verify the configuration.# Run the display wlan location config-info aeroscout { ap-id ap-id | ap-name ap-name } command to check the configuration delivered by the AeroScout location server to an AP. The value start indicates that the AP is working properly.
[AC-wlan-view] display wlan location config-info aeroscout ap-name AP1 ---------------------------------------------------------------- ...... Response port : 1144 AP tag mode : start ......
# Move the tag to the coverage area of an AP, and run the display wlan location device-info tag { ap-id ap-id | ap-name ap-name } command to check tag information scanned by the AP.[AC-wlan-view] display wlan location device-info tag ap-name AP1 AP ID AP name Tag type Tag MAC Channel RSSI ------------------------------------------------------------------------------ 0 AP1 AeroScout 1040-8002-6f80 6 -30 ------------------------------------------------------------------------------ Total: 1
# On the management page of the AeroScout location server, the location of the tag is displayed on the map.
Configuration Files
- Router configuration file
# vlan batch 101 to 102 # interface Vlanif102 ip address 10.23.102.1 255.255.255.0 # interface GigabitEthernet1/0/0 port link-type trunk port trunk allow-pass vlan 101 to 102 # return
- AC configuration file
# vlan batch 100 to 102 # interface Vlanif102 ip address 10.23.102.2 255.255.255.0 # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 101 to 102 # ip route-static 10.23.103.1 255.255.255.255 10.23.102.1 # wlan location-profile name wlan-location aeroscout tag-enable aeroscout server port 1144 via-ac ac-port 10001 source ip-address 10.23.102.2 air-scan-profile name wlan-air-scan radio-2g-profile name wlan-radio-2g air-scan-profile wlan-air-scan ap-group name ap-group1 location-profile wlan-location radio 0 radio 0 radio-2g-profile wlan-radio-2g vap-profile wlan-net wlan 1 # return