R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
6
-s packet-size: Specifies length (in bytes) of an ICMPv6 echo request, which ranges from 20 to 8100 and
defaults to 56.
-t timeout: Specifies the timeout value (in milliseconds) of an ICMPv6 echo reply, which ranges from 0 to
65535 and defaults to 2000.
host: IPv6 address or host name of the destination, which is a string of 1 to 46 characters.
-i interface-type interface-number: Specifies an outbound interface by its type and number. This option
can be used only in case that the destination address is the link local address and the specified outbound
interface must have a link local address. For more information about the configuration of link local
address, see Network Management Configuration Guide. If this option is not provided, the ICMP echo
request sending interface is determined by searching the routing table or forwarding table according to
the destination IP address.
-vpn-instance vpn-instance-name: Specifies the VPN to which the destination belongs, where the
vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. If the destination is on the
public network, do not specify this option.
Description
Use ping ipv6 to verify whether an IPv6 address is reachable, and display the corresponding statistics.
To use the name of the destination host to perform the ping operation, you must configure DNS on the
device first; otherwise, the ping operation fails. For more information about DNS, see Network
Management Configuration Guide. You must use the command in the form of ping ipv6 ipv6 instead of
ping ipv6 if the destination name is an ipv6 name.
To abort the ping ipv6 operation during the execution of the command, press Ctrl+C.
Examples
# Verify whether the IPv6 address 2001::1 is reachable.
<Sysname> ping ipv6 2001::1
PING 2001::2 : 56 data bytes, press CTRL_C to break
Reply from 2001::1
bytes=56 Sequence=1 hop limit=64 time = 62 ms
Reply from 2001::1
bytes=56 Sequence=2 hop limit=64 time = 26 ms
Reply from 2001::1
bytes=56 Sequence=3 hop limit=64 time = 20 ms
Reply from 2001::1
bytes=56 Sequence=4 hop limit=64 time = 4 ms
Reply from 2001::1
bytes=56 Sequence=5 hop limit=64 time = 16 ms
--- 2001::2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 4/25/62 ms
# Verify whether the IPv6 address 2001::1 in VPN 1 is reachable.
<Sysname> ping ipv6 –vpn-instance vpn1 2001::1
PING 2001::1 : 56 data bytes, press CTRL_C to break
Reply from 2001::1
bytes=56 Sequence=1 hop limit=64 time = 62 ms