< Home

healthcheck source-ip

Function

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

The undo healthcheck source-ip command cancels the setting.

Format

healthcheck source-ip ip-address

undo healthcheck source-ip

Parameters

Parameter Description Value
ip-address

Specifies the source IP address of a probe packet.

The value is in dotted decimal notation.

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Dialer interface view, VLANIF interface view, Tunnel interface 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.

Example

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

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] healthcheck source-ip 10.1.1.10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >