< Home

location source

Function

The location source command configures a global source IP address in packets sent by an AC to a location server.

The undo location source command deletes a global source IP address from packets sent by an AC to a location server.

By default, the source IP address is not configured in packets sent by an AC to a location server.

Format

location source ip-address ip-address

undo location source

Parameters

Parameter

Description

Value

ip-address ip-address

Specifies a source IPv4 address in packets sent by an AC to a location server.

The value is in dotted decimal notation.

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run the location source command to configure a source IP address in UDP packets sent by an AC to a location server.

Run the location source command to configure different source IP addresses for the active and standby ACs.

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.

Precautions
  • Ensure that the AC IP address manually configured on the location server is the same as that configured using the location source command.
  • The source IP address must exist on the AC; otherwise, the configuration does not take effect.
  • The source IP address in packets sent by an AC to a location server can be a global source IP addresses in the WLAN view and the source IP address in the location profile. The source IP address in the location profile takes precedence over the global source IP address in the WLAN view. If the source IP address in packets sent by an AC to a location server is not configured or the source IP address version is different from the IP address version of the location server, the AC&apos;s default IP address used for communicating with the location server is used as the source IP address.

Example

# Configure 10.102.25.23 as the source IP address of the UDP packets sent from the AC to the location server.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] location source ip-address 10.102.25.23
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >