R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
306
-s packet-size: Specifies length (in bytes) of an ICMPv6 echo request. The value range is 20 to 8100, and
the default is 56.
-t timeout: Specifies the timeout value (in milliseconds) of an ICMPv6 echo reply. The value range is 0 to
65535, and the default is 2000.
host: Specifies the IPv6 address or host name of the destination. The host name is a case-insensitive string
of 1 to 46 characters.
-i interface-type interface-number: Specifies an outbound interface by its type and number. This
parameter can be used only when 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 Layer 3—IP Services Configuration Guide). Without this option, the system uses the
primary IP address of the matching route's egress interface as the source interface of ICMP echo
requests.
-vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the destination belongs,
where vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the destination is on the public
network, do not specify this option.
Usage guidelines
To use the name of the destination host to perform the ping IPv6 operation, configure DNS on the device
first. Otherwise, the ping IPv6 operation fails. For more information about DNS, see Layer 3—IP Services
Configuration Guide.
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
Reply from 2001::1










