< Home

source (location profile view)

Function

The source command sets the source IP address used by the AC to send packets to a location server.

The undo source command deletes the configured source IP address.

By default, the source IP address used by the AC to send packets to a location server is not configured.

Format

source ip-address ip-address

undo source

Parameters

Parameter

Description

Value

ip-address ip-address

Specifies the source IPv4 address used by the AC to send packets to a location server.

The value is in dotted decimal notation.

Views

Location profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the source IP address used by the AC to send packets to a location server is configured using the source command, the UDP packet sent from the AC to a location server carries this IP address as its source IP address.

Precautions

  • Ensure that the AC IP address manually configured on a location server is the same as that configured using the source command.
  • The source IP address must be a valid IP address existing on the device; 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 the source IP address of the UDP packets sent from the AC to a location server as 10.102.25.23.

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