F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Configuration Guide-6PW100
5
Figure 3 Ping operation result
138BConfiguring ping at the CLI
346BUsing 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.
Support for the ping ipv6
command depends on the device
model.
347BPing example
1. Network requirements
Test the network connectivity between Device A and Device C in
719HFigure 4. If they can reach each other,
get detailed information about routes from Device A to Device C.