HP VPN Firewall Appliances System Management and Maintenance Configuration Guide

6
Figure 4 Ping operation result
Configuring ping at the CLI
Using a ping command to test network connectivity
Execute ping commands in any view.
Task Command
Remarks
Test the network connectivity to an
IP address.
For an IPv4 network:
ping [ ip ] [ -a source-ip | -c
count | -f | -h ttl | -i
interface-type interface-number
| -m interval | -n | -p pad | -q
| -r | -s packet-size | -t timeout
| -tos tos | -v | -vpn-instance
vpn-instance-name ] * host
For an IPv6 network:
ping ipv6 [ -a source-ipv6 | -c
count | -m interval | -s
packet-size | -t timeout |
-vpn-instance
vpn-instance-name ] * host [ -i
interface-type
interface-number ]
Set a larger value for the timeout
timer (indicated by the -t parameter
in the command) when you
configure the ping command for a
low-speed network.
Disabling the echo reply function
on the destination affects the ping
function.
Ping example
1. Network requirements
Test the network connectivity between Device A and Device C in Figure 5. If they can reach each
other, get detailed information about routes from Device A to Device C.