Chapter 16 Interfaces
ZyWALL Series CLI Reference Guide
138
16.2.8 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 Zyxel Device stops routing to the gateway. The Zyxel Device resumes routing to the
gateway the first time the gateway passes the connectivity check.
This table lists the ping-check commands
Table 60 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
activate
Use this command to have the Zyxel Device log
connectivity check 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 {FQDN | IPv4 | default-
gateway} [period <5..3600>] [timeout
<1..10>] [fail-tolerance <1..10>]
[method {icmp | tcp}] [port
<1..65535>] [probe-condition {any |
all}]
Specifies what the Zyxel Device pings for the ping
check; you can specify a fully-qualified domain name,
IP address, or the default gateway for the interface.
period: number of seconds between each ping check.
timeout: number of seconds the Zyxel Device waits for
a response.
fail-tolerance: number of times the Zyxel
Devicetimes out before if stops routing through he
specified interface.
method: how the Zyxel Device checks the connection to
the gateway. icmp pings the gateway you specify to
make sure it is still available, while tcp performs a TCP
handshake with the gateway you specify to make sure
it is still available.
port: the pot number to use for a TCP connectivity
check.
probe-condition: if you ping two IP addresses or
domain names, determines whether the ping fails only if
both addresses do not respond (any) or if at least one
does not respond (all).