ping6
Focus
Focus

ping6

Table of Contents

ping6

Use the ping6 command to test internet control message protocol (ICMP) reachability of a host and to troubleshoot network connectivity issues for IPv6. It displays the network connectivity response and the time it takes to receive the response.

Command

ping6 interface host (args =" ")

Options

interfaceEnter the interface from which to send packets.
hostEnter the destination IP address or hostname.
args= "-c number"Enter the number of pings to be displayed.
args= "-s number"Enter the packet size. The default size is 56.
args="-W number"Enter the number of seconds to wait to receive the first response after all the -c packets are sent. The default value is 10 seconds.
args="-w number"Enter the number of seconds to wait to receive the first response before the -c packets are sent. The default value is infinite seconds.
args=”-i number”Enter the number of seconds of interval between the packets.
args=”-I”Enter the source IP interface or IP address.
args=”=t”Enter the TTL to set the TTL on the packets.
args="-q"Quiet mode displays only the summary lines at the start and finish.

Command Notes

RoleSuper, Read Only
Related Commands
Introduced inRelease 6.0.1

Example

ping6 1 5001::1 args="-c 100" PING 5001::1 (5001::1): 56 data bytes 64 bytes from 5001::1: seq=0 ttl=64 time=1.321 ms 64 bytes from 5001::1: seq=1 ttl=64 time=0.672 ms 64 bytes from 5001::1: seq=2 ttl=64 time=1.489 ms 64 bytes from 5001::1: seq=3 ttl=64 time=3.160 ms 64 bytes from 5001::1: seq=4 ttl=64 time=4.122 ms 64 bytes from 5001::1: seq=5 ttl=64 time=3.071 ms