Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

execute health-check-verify

Use this command to use the specified health check to check the status of any IP address.

Syntax

execute health-check-verify <ip address> <hc name> <port>|<enter>

 

<ip address>

The IP address of the health check object.

<hc name>

The name of the health check object.

Note: The health check MUST be an existing Health Check in FortiADC.

<port>|<enter>

If you set a port value, health check traffic will use the port. If you do not set the port value but press Enter instead, health check traffic will use the port value from the specified health check name.

Example

FortiADC-VM # execute health-check-verify LB_HLTHCK_ICMP 10.0.0.1

recv hc state is UP

FortiADC-VM # execute health-check-verify LB_HLTHCK_HTTP 10.0.0.1 8080

recv hc state is DOWN

 

execute health-check-verify

Use this command to use the specified health check to check the status of any IP address.

Syntax

execute health-check-verify <ip address> <hc name> <port>|<enter>

 

<ip address>

The IP address of the health check object.

<hc name>

The name of the health check object.

Note: The health check MUST be an existing Health Check in FortiADC.

<port>|<enter>

If you set a port value, health check traffic will use the port. If you do not set the port value but press Enter instead, health check traffic will use the port value from the specified health check name.

Example

FortiADC-VM # execute health-check-verify LB_HLTHCK_ICMP 10.0.0.1

recv hc state is UP

FortiADC-VM # execute health-check-verify LB_HLTHCK_HTTP 10.0.0.1 8080

recv hc state is DOWN