< Home

display healthcheck

Function

The display healthcheck command displays information about health check.

Format

display healthcheck [ vpn-instance vpn-instance-name ] [ name healthcheck-name ] [ verbose ]

Parameters

Parameter Description Value
vpn-instance-name

Specifies the name of a VPN instance.

-

healthcheck-name

Specifies the health check name.

-

verbose

Displays details about health check.

-

Views

All views

Default Level

2: Configuration level

Usage Guidelines

If verbose is not configured, only the number of health check members, link status, and number of members in each state are displayed. If verbose is configured, additional information is displayed, including the health check index, whether health check is enabled, and health check configuration.

Example

# Display information about health check hchk1.

<sysname> display healthcheck name hchk1
Name                            Member   State   Up/Down/Init  
hchk1                           1        down    0  1    0     

# Display details about health check hchk1.

<sysname> display healthcheck name hchk1 verbose
 -------------------------------------------------------------------------------
 Name                                         : hchk1                           
 Index                                        : 3                               
 Enable Flag                                  : 1                               
 Vrf                                          : public/0                        
 Member Number                                : 1                               
 Source Ip                                    : 10.20.10.20                     
 Tx-interval (default is 5)                   : 5                               
 Times (default is 3)                         : 3                               
 Least active-linknumber (default is 1)       : 1                               
 State                                        : down                            
 Init State Number                            : 0                               
 DOWN State Number                            : 1                               
 UP State Number                              : 0                               
 -------------------------------------------------------------------------------
  State                                      : down                             
  Destination Type/Destination Info          : IP/10.20.10.10                   
  Protocol/Port                              : tcp/10010                        
  Out If Index                               : GigabitEthernet0/0/5             
  Healthcheck detect index                   : 11                               
 -------------------------------------------------------------------------------
Table 1 Description of the display healthcheck name hchk1 verbose command output

Item

Description

Name

Health check name

Index

Health check index

Enable Flag

Whether health check is enabled:

  • 0: Health check is disabled.
  • 1: Health check is enabled.

Vrf

Virtual system name/ID

Member Number

Number of probe members

Source Ip

Source IP address that initiates health check

Tx-interval

Probe interval

Times

Number of probe failures

When the number of consecutive probe failures reaches a specific value, the system considers the link unavailable and changes the state of the link to Down.

Least active-linknumber

Minimum number of active nodes for health check

When the number of active links is smaller than the specified minimum number, the status of health check changes to Down.

State above the division line

Health check result

  • up: The probe succeeds.
  • Down: The probe fails.
  • init: No probe is initiated.

Init State Number

Number of nodes in init state

DOWN State Number

Number of nodes in Down state

UP State Number

Number of nodes in Up state

State below the division line

Last probe result

  • up: The probe succeeds.
  • Down: The probe fails.
  • init: No probe is initiated.

Destination Type/Destination Info

Destination probe type/destination information

Protocol/Port

Protocol/port

Out If Index

Outbound interface

Healthcheck detect index

Probe entry ID

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >