< Home

source-ip (health check view)

Function

The source-ip command sets a source IP address for a probe packet for health check.

The undo source-ip command cancels the setting.

Format

source-ip ip-address

undo source-ip

Parameters

Parameter Description Value
ip-address

Specifies the source IP address of probe packets.

The value is in decimal dotted notation.

Views

health check view

Default Level

2: Configuration level

Usage Guidelines

Use an available and routable IP address (public or private) based on network deployment as the IP address of the detection source for the health check. You can use the IP address of the interface where the health check resides or an IP address in the source NAT address pool as the IP address of the detection source.

If you do not set the IP address of the detection source, the FW will use the interface IP address as the IP address of the detection source. If multiple IP addresses are specified for the interface, the FW selects the IP address on the same subnet as the gateway address as the IP address of the detection source.

Example

# Set the source IP address to 10.1.1.10 for probe packets of health check hchk1.

<sysname> system-view
[sysname] healthcheck name hchk1
[sysname-healthcheck-hchk1] source-ip 10.1.1.10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >