< Home

healthcheck name

Function

The healthcheck name command creates a health check and accesses the health check view.

The undo healthcheck name command deletes a health check.

Format

healthcheck name healthcheck-name [ vpn-instance vpn-instance-name ]

undo healthcheck name healthcheck-name [ vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
healthcheck-name

Specifies the health check name.

The value is a case-sensitive character string. The length of a name without spaces ranges from 1 to 31 characters. The length of a name with spaces ranges from 3 to 33 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "hc for test"). The name cannot contain any at sign (@) or asterisk (*).

vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 characters.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After you use the healthcheck name command to create a health check, you can set required parameters in the health check view.

Before running the healthcheck name healthcheck-name vpn-instance vpn-instance-name command to specify a VPN instance for health check, run the ip vpn-instance vpn-instance-name command to create the VPN instance.

Example

# Create a health check named hchk1.

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