< Home

display healthcheck service

Function

The display healthcheck service command displays information about service health check.

Format

display healthcheck service num [ slot slot-id ]

display healthcheck service [ state { down | init | up } ] [ destination ip-address ] [ protocol { dns | http | https | icmp | radius | tcp | tcp-simple } ] [ slot slot-id ] [ verbose ]

Parameters

Parameter Description Value
slot-id

Specifies the slot ID.

-

down

Indicates that the health check status is Down.

-

init

Indicates that the health check status is Initialized.

-

up

Indicates that the health check status is Up.

-

ip-address

Specifies the destination IP address for health check.

It is in dotted decimal notation.

dns

Sends DNS probe packets.

-

http

Sends HTTP probe packets.

-

https

Sends HTTPS probe packets.

-

icmp

Sends ICMP probe packets.

-

radius

Sends RADIUS probe packets.

-

tcp

Sends TCP probe packets.

-

tcp-simple

Indicates that TCP packets are used to check network connectivity. A link is considered available upon the reply to the first detection packet by the destination device, not completion of the three-way handshake.

-

verbose

Displays details about health check.

-

Views

All views

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Display information about service health check.

<sysname> display healthcheck service
--------------------------------------------------------------------------------
available_flag                          : 1                                     
ID                                      : 3                                     
AppID                                   : 0                                     
Vpn-instance                            : public                                
Protocol                                : http                                  
Destination Ip-address                  : 10.1.1.50                             
Destinaton port                         : 80                                    
State                                   : down                                  
Tx-interval (default is 5)              : 3                                     
Times (default is 3)                    : 5                                     
RouteFlag                               : 1                    
Source Ip-address                       : 1.1.1.2                             
NextHop Ip-address                      : 1.1.1.254                           
Out Interface                           : GigabitEthernet0/0/2              
out if cmp flag                         : 0                                    
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
available_flag                          : 1                                     
ID                                      : 4                                     
AppID                                   : 0                                     
Vpn-instance                            : public                                
Protocol                                : http                                  
Destination Ip-address                  : 10.1.1.51                             
Destinaton port                         : 80                                    
State                                   : down                                  
Tx-interval (default is 5)              : 3                                     
Times (default is 3)                    : 5                                     
--------------------------------------------------------------------------------
Table 1 Description of the display healthcheck service command output

Item

Description

available_flag

Entry availability flag

ID

Internal ID of the entry

AppID

Health check ID of the module to which the entry belongs

Vpn-instance

VPN instance name

Protocol

Protocol type

Destination Ip-address

Destination IP address of health check

Destinaton port

Destination port number of health check

State

Current probe status

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

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.

RouteFlag

Route flag

Source Ip-address

Source IP address that initiates health check

NextHop Ip-address

Next-hop IP address

Out Interface

Outbound interface

out if cmp flag

Outbound interface check flag

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