No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
private server

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
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 116892

Downloads: 83

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next