< Home

healthcheck (interface view)

Function

The healthcheck command applies health check to an interface.

The undo healthcheck command deletes health check from an interface.

Format

healthcheck healthcheck-name

undo healthcheck

Parameters

Parameter Description Value
healthcheck-name

Specifies the health check name.

The value must be the name of an existing health check.

Views

Ethernet interface view, Ethernet sub-interface view, Tunnel interface view, Dialer interface view, Eth-trunk interface view, Eth-trunk sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Only one health check can be applied to an interface.

After you apply health check to an intelligent uplink selection member interface, you need to run the destination protocol interface interface-type interface-number command to configure the interface as a probe member of health check. Otherwise, the health check function does not take effect, and the system considers all intelligent uplink selection members to be normal by default.

Example

# Apply health check hchk1 to GigabitEthernet 0/0/1.

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