2-1
2 IPv6 Application Configuration Commands
IPv6 Application Configuration Commands
ping ipv6
Syntax
ping ipv6 [ -a source-ipv6-address | -c count | -m interval | -s packet-size | -t timeout ]* remote-system
[ -i interface-type interface-number ]
View
Any view
Parameters
-a source-ipv6-address: Specifies source IPv6 address.
-c count: Specifies the number of packets sent for requesting ICMPv6 echo, ranging from 1 to
4294967295, with the default of 5.
-m interval: Specifies the time intervals in milliseconds to send packets for ICMPv6 echo, ranging from 1
to 65,535, with the default of 200 milliseconds.
z If a response from the destination is received within the timeout time, the interval to send the next
ECHO-REQUEST equals to the actual response period plus the value of interval.
z If no response from the destination is received within the timeout time, the interval to send the next
ECHO-REQUEST equals to the timeout value plus the value of interval.
-s packet-size: Specifies the size in bytes of packets sent for requesting ICMPv6 echo, ranging from 20
to 8,100, with the default of 56 bytes.
-t timeout: Specifies the timeout in milliseconds of receiving ICMPv6 echoes, ranging from 0 to 65,535,
with the default of 2,000 milliseconds.
remote-system: IPv6 address or host name (a string a 1 to 46 characters) of the destination device.
-i interface-type interface-number: Specifies the type and number of an outgoing interface. This
argument takes effect only when the destination address is a link-local address and the specified
outgoing interface has a link-local address.
Description
Use the ping ipv6 command to test whether the destination is accessible.
The following information will be output:
z A reply to each ICMPv6 echo request. If no ICMPv6 reply is received within the timeout time,
“Request time out” is displayed; otherwise, the number of data bytes of each reply, packet
sequence number, TTL, and round-trip response time are displayed.
z Statistics, including the numbers of sent packets, received packets, packet loss percentage, and
the minimum/average/maximum response time.
After you execute the ping ipv6 command, you can press Ctrl+C to terminate the ping operation.