< Home

haca-server source-ip

Function

The haca-server source-ip command configures a source IP address for the device to communicate with an HACA server.

The undo haca-server source-ip restores the default setting.

By default, no source IP address is configured for HACA packets. The device uses the IP address of the actual outbound interface as the source IP address of HACA packets.

Format

haca-server source-ip ip-address

undo haca-server source-ip

Parameters

Parameter Description Value

ip-address

Specifies the source IP address for communication with an HACA server.

The value is in dotted decimal notation. It must be a valid unicast address.

Views

HACA server template view

Default Level

3: Management level

Usage Guidelines

To communicate with an HACA server, the device sends packets encapsulated with source IP addresses. By default, the device uses the IP addresses of the actual outbound interfaces as the source IP address. This leads to a waste of IP addresses, and complicates the configuration. To simplify the configuration, run the haca-server source-ip command to set a same source IP address for all HACA packets. In this way, the HACA server can use only one IP address to communicate with the device.

Example

# Set the source IP address for communication between the device and an HACA server to 10.1.1.1.

<HUAWEI> system-view
[HUAWEI] haca-server template haca
[HUAWEI-haca-haca] haca-server source-ip 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >