Technical data
Using Operating Commands
303561-A Rev 00
3-11
IPv6 Ping
When you issue the
ping
command for IP version 6 (IPv6), the ping program
sends an Internet Control Message Protocol version 6 (ICMPv6) echo request to
the remote IPv6 address you specify. The remote device responds if it can be
reached, and the console displays the response or the result of the request.
Enter the following to ping a remote device running IPv6:
ping -ipv6
<IPv6_address>
[
-t
<timeout>
] [
-r
<repeat_count>
] [
-s
<size>
] [
-p
]
[
-a
<address>
] [
-i
<ifindex>
] [
-v
]
<IPv6_address> is the required IPv6 address, in IPv6 notation, of the remote
device.
[
-t
<timeout>
] [
-r
<repeat_count>
] [
-s
<size>
] [
-p
] [-a
<address>
] [-i
<ifindex>
]
[
-v
] are optional. These parameters are as follows:
<timeout>
is the number of seconds for each ping to time out. If the system
receives a response to a ping after it has timed out, the system does not send an
alive
message to the console. The default is 5.
<repeat_count>
is the number of ping messages to send. Enter a value from 0 to
10. The default is 1.
<size>
is the number of bytes of data to send with each ping. The default is 16.
-p
generates a path trace report that displays the intervening hop addresses to the
destination and the time it took to reach them.
<address>
is any local, global-scope IPv6 address that the
ping
command uses as
the source IPv6 address.
<ifindex>
is the interface index. The interface index is a number that identifies the
IPv6 interface sending the ICMPv6 echo request packets. You must provide the
<ifindex>
when the specified IPv6 address is a link-local scope (fe80) address.
-v
(verbose) generates statistical information about the ICMP echo request,
including information about the success rate and round-trip time.
Note:
Our implementation of the ICMP protocol does not support loopback
(pinging your own system) or broadcast addresses.