R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
6
Syntax
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 ]
Views
Any view
Default command level
0: Visit level
Parameters
-a source-ipv6: Specifies the source IPv6 address of an ICMP echo request. It must be a legal IPv6
address configured on the device. If this parameter is not provided, the source IPv6 address of an ICMP
echo request is the IPv6 address of the outbound interface of the request (The address selection rule is
defined by RFC 3484).
-c count: Specifies the number of times that an ICMPv6 echo request is sent. The value range is 1 to
4294967295, and the default is 5.
-m interval: Specifies the interval (in milliseconds) to send an ICMPv6 echo reply. The value range is 1
to 65535, and the default is 200.
• If a response from the destination is received within the timeout time, the interval to send the next
echo request equals the actual response period plus the value of interval.
• If no response from the destination is received within the timeout time, the interval to send the next
echo request equals the timeout value plus the value of interval.
-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: 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
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). If this parameter 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 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