< Home

source (BLE 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, and the IP address of the route outbound interface is used as the source IP address.

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

BLE profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In Bluetooth location scenarios, after the source IP address used by the AC to send packets to a location server is configured using the source command, the 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.
  • When the source (BLE profile view) and ble source commands are both executed, the function configured using the source (BLE profile view) command takes effect.

Example

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

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