Reference Guide
ping6
Tests network connectivity to an IPv6 device.
Syntax
ping6 [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface] [-l preload]
[-m mark] [-M pmtudisc_option] [-N nodeinfo_option] [-p pattern] [-Q tclass] [-
s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option] [-w deadline] [-W
timeout] destination
Parameters
• -a — (Optional) Audible ping.
• -A — (Optional) Adaptive ping. An inter-packet interval adapts to the round-trip time so that not more than
one (or more, if preload option is set) unanswered probe is present in the network. The minimum interval is 200
msec for a non-super-user, which corresponds to ood mode on a network with a low round-trip time.
•
-b — (Optional) Pings a broadcast address.
• -B — (Optional) Does not allow ping to change the source address of probes. The source address is bound to
the address used when ping starts.
• -c count — (Optional) Stops the ping after sending the specied number of ECHO_REQUEST packets until
the timeout expires.
• -d — (Optional) Sets the SO_DEBUG option on the socket being used.
• -D — (Optional) Prints the timestamp before each line.
• -F flowlabel — (Optional) Sets a 20-bit ow label on echo request packets. If value is zero, the kernel
allocates a random ow label.
• -h — (Optional) View help for this command.
• -i interval— (Optional) Enter the number of seconds to wait before sending the next packet (0 to 60, default
1).
• -i interval — (Optional) Enter the interval, in seconds, to wait between sending each packet (default 1
second).
• -I interface-address — (Optional) Enter the source interface address (with no spaces):
• For a physical Ethernet interface, enter ethernetnode/slot/port; for example, ethernet1/1/1.
• For a VLAN interface, enter vlanvlan-id; for example, vlan10.
• For a loopback interface, enter loopbackid; for example, loopback1.
• For a port-channel interface, enter port-channelchannel-id; for example, port-channel1.
• -l preload — (Optional) Enter the number of packets that ping sends before waiting for a reply. Only a
super-user may preload more than 3.
• -L — (Optional) Suppress the loopback of multicast packets for a multicast target address.
• -m mark — (Optional) Tags the packets sent to ping a remote device (use with policy routing).
• -M pmtudisc_option — (Optional) Enter the path MTU (PMTU) discovery strategy:
• do prevents fragmentation, including local.
• want performs PMTU discovery and fragments large packets locally.
• dont does not set the Don’t Fragment (DF) ag.
• -p pattern — (Optional) Enter up to 16 pad bytes to ll out the packet you send to diagnose data-related
problems in the network (for example, -p ff lls the sent packet with all 1’s.
• -Q tos — (Optional) Enter the number of datagrams (up to 1500 bytes in decimal or hex) to set quality of
service (QoS)-related bits.
• -s packetsize — (Optional) Enter the number of data bytes to send (1 to 65468, default 56).
• -S sndbuf — (Optional) Set the sndbuf socket. By default, the sndbuf socket buers one packet maximum.
• -t ttl — (Optional) Enter the IP time-to-live (TTL) value in seconds.
Troubleshoot OS10
591