Chapter 6 Interfaces

6.2.6 Connectivity Check (Ping-check) Commands

Use these commands to have an interface regularly check the connection to the gateway you specified to make sure it is still available. You specify how often the interface checks the connection, how long to wait for a response before the attempt is a failure, and how many consecutive failures are required before the ZyWALL stops routing to the gateway. The ZyWALL resumes routing to the gateway the first time the gateway passes the connectivity check.

This table lists the ping-checkcommands

Table 21 interface Commands: Ping Check

COMMAND

DESCRIPTION

show ping-check [interface_name status]

Displays information about ping check settings for the specified

 

interface or for all interfaces.

 

status: displays the current connectivity check status for any

 

interfaces upon which it is activated.

 

 

[no] connectivity-check continuous-log

Use this command to have the ZyWALL logs connectivity check

activate

result continuously. The no command disables the setting.

show connectivity-check continuous-log status

Displays the continuous log setting about connectivity check.

interface interface_name

Enters sub-command mode.

[no] ping-check activate

Enables ping check for the specified interface. The no command

 

disables ping check for the specified interface.

ping-check {domain_name ip default-

Specifies what the ZyWALL pings for the ping check; you can

gateway}

specify a fully-qualified domain name, IP address, or the default

 

gateway for the interface.

 

 

ping-check {domain_name ip default-

Specifies what the ZyWALL pings for the ping check and sets the

gateway} period <5..30>

number of seconds between each ping check.

ping-check {domain_name ip default-

Specifies what the ZyWALL pings for the ping check and sets the

gateway} timeout <1..10>

number of seconds the ZyWALL waits for a response.

ping-check {domain_name ip default-

Specifies what the ZyWALL pings for the ping check and sets the

gateway} fail-tolerance <1..10>

number of times the ZyWALL times out before it stops routing

 

through the specified interface.

ping-check {domain_name ip default-

Sets how the ZyWALL checks the connection to the gateway.

gateway} method {icmp tcp}

icmp: ping the gateway you specify to make sure it is still available.

 

 

tcp: perform a TCP handshake with the gateway you specify to

 

make sure it is still available.

 

 

ping-check {domain_name ip default-

Specifies the port number to use for a TCP connectivity check.

gateway} port <1..65535>

 

70

 

ZyWALL (ZLD) CLI Reference Guide