< Home

private server

Function

The private server command configures the destination IP address and port number for APs to report STA location data.

The undo private server command restores the default destination IP address and port number for APs to report STA location data.

By default, no destination IP address or port number is configured for APs to report STA location data.

Format

private server { ip-address ip-address | domain domain } port port-num [ via-ac ac-port ac-port-num ]

undo private server

Parameters

Parameter Description Value
ip-address ip-address

Specifies the server's IPv4 address to which APs report STA location data.

The value is in dotted decimal notation.

domain domain

Specifies the domain name to which APs report STA location data.

The value is a string of 1 to 255 characters.
port port-num

Specifies the destination port number on the location server to which APs directly report terminal location data.

Specifies the destination port number on the location server to which APs report terminal location data through an AC.

The value is an integer that ranges from 1 to 65535.
via-ac

Indicates that STA location data is reported to the location server through an AC

-
ac-port ac-port-num

Specifies the destination port number on the AC to which APs report STA location data.

The value is an integer that ranges from 5000 to 65535.

Views

Location profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After an AP completes channel scan, the AP can report the collected data to the location server in the following two methods.
  • The AP directly reports the data to the location server.
  • The AP reports the data to the location server through an AC.

When the AP and the location server are located on different LANs, the AP must report the data to the AC first. The AC must identify information about authorized and unauthorized STAs based on the location data and report the information to the location server.

If the route between the AP and location server is reachable, and the AC is not required to identify information about authorized and unauthorized STAs, configure the AP to send data to the location server directly, preventing adverse impact of the location function on AC performance and WLAN services.

Precautions

You cannot configure a port number that has been occupied by other services; otherwise, the port configuration fails.

For the same location method, via-ac can be configured only in one profile. If via-ac has been specified in the current location profile for a specific location method, it cannot be specified in other profiles for the same location method.

To set the protocol type to HTTP or HTTPS for APs to report information, specify via-ac ac-port ac-port-num in the command. If the UDP protocol is used and the domain name is specified, the parameter via-ac ac-port ac-port-num cannot be configured.

Example

# Configure APs to report STA location data directly to the location server, and set the server's IP address and port number to 192.168.1.2 and 32180, respectively.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] location-profile name huawei
[HUAWEI-wlan-location-prof-huawei] private server ip-address 192.168.1.2 port 32180
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >