Command Manual – System Maintaining and Debugging
H3C S7500E Series Ethernet Switches
Chapter 2 System Maintaining and
Debugging Commands
2-3
2.1.2 ping ipv6
Syntax
ping ipv6
[
-a
source-ipv6
|
-c
count
|
-m
interval
|
-s
packet-size
|
-t
timeout
] *
remote-system
[
-i
interface-type interface-number
]
View
Any view
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.
-c
count
: Specifies the number of times that an ICMPv6 echo request is sent, in the
range 1 to 4294967295. The default value is 5.
-m
interval
: Specifies the interval (in milliseconds) to send an ICMPv6 echo reply, in the
range 1 to 65535. The default value is 200 ms.
z
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.
z
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, in the range 20
to 8100. It defaults to 56.
-t timeout
: Specifies the timeout value (in milliseconds) of an ICMPv6 echo request, in
the range 0 to 65535. It defaults to 2000.
remote-system
: IPv6 address or host name (a string of 1 to 46 characters) of the
destination device.
-i interface-type interface-number
: Specifies an outgoing interface by its type and
number. This parameter can be used only in case that the destination address is the
link local address and the specified outgoing interface must have a link local address
(For the configuration of link local address, see
IPv6 Configuration
).
Description
Use the
ping ipv6
command to verify whether an IPv6 address is reachable, and
display the corresponding statistics.
You must use the command in the form of
ping ipv6 ipv6
instead of
ping ipv6
if the
destination name is an ipv6 name.
Examples
# Verify whether the IPv6 address 2001::1 is reachable.