H3C S5830V2 Series Command Reference Manual page 33

Network management and monitoring
Hide thumbs Also See for S5830V2 Series:
Table of Contents

Advertisement

Syntax
ping ipv6 [ -a source-ipv6 | -c count | -m interval | -q | -s packet-size | -t timeout | –v | -vpn-instance
vpn-instance-name ] * host [ -i interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
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 option is not specified, 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 count argument is in the
range of 1 to 4294967295. The default value is 5.
-m interval: Specifies the interval (in milliseconds) to send an ICMPv6 echo reply. The interval argument
is in the range of 1 to 65535. The default value is 1000.
-q: Displays only statistics. If this keyword is not specified, all information including the statistics is
displayed.
-s packet-size: Specifies length (in bytes) of an ICMPv6 echo request (not including the IPv6 packet
header and the ICMPv6 packet header). The packet-size argument is in the range of 20 to 8100. The
default value is 56.
-t timeout: Specifies the timeout time (in milliseconds) of an ICMPv6 echo reply. The timeout argument is
in the range of 0 to 65535. The default value is 2000.
-v: Displays all ICMPv6 packets received. If this keyword is not specified, the system only displays
ICMPv6 echo reply.
-vpn-instance vpn-instance-name: Specifies the VPN 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.
-i interface-type interface-number: Specifies an outbound interface by its type and number. This option
must be specified when the destination address is a broadcast address or the specified outbound
interface has a link local address. If this option is not specified, the ICMP echo request sending interface
is determined by searching the routing table or forwarding table according to the destination IP address.
host: IPv6 address or host name of the destination, which is a string of 1 to 46 characters.
Usage guidelines
To use the name of the destination host to perform the ping operation, you must first configure DNS on
the device. Otherwise, the ipv6 ping operation fails.
To abort the ping ipv6 operation during the execution of the command, press Ctrl+C.
Examples
# Test whether the IPv6 address 2001::2 is reachable.
<Sysname> ping ipv6 2001::2
PING6(104=40+8+56 bytes) 2001::1 --> 2001::2
56 bytes from 2001::2, icmp_seq=0 hlim=64 time=62.000 ms
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2 series

Table of Contents