HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)

160 XPath OS CLI commands
When you use ping to isolate faults, run it first on the local host to verify that the local network interface is
up and running. Subsequently, you can ping hosts and gateways further and further away.
Round-trip times and packet loss statistics are computed. If duplicate packets are received, they are not
included in the packet loss calculation, although the round-trip time of these packets is used to calculate
the minimum/average/maximum round-trip time numbers.
When the specified number of packets have been sent (and received) or if the program is terminated with
a SIGINT, a brief summary is displayed. The summary information can be displayed while ping is
running by sending a SIGINFO signal (see the status argument for stty 1 for more information).
ping continually sends one datagram per second, printing one line of output for every ECHO_RESPONSE
returned. On a trusted system with IP security options enabled, if the network idiom is not MONO, ping
also prints a second line containing the hexadecimal representation of the IP security option in the
ECHO_RESPONSE. If the -c count option is given, only that number of requests is sent. No output is
-l If preload is specified, ping sends the packets as fast as possible
before returning to its normal behavior. Only a superuser can use this
option.
-L Disables loopback when sending to multicast destinations so that the
transmitting host does not see the ICMP requests.
-n Numeric output only. No attempt is made to look up symbolic names for
host addresses.
-o Exits successfully after receiving one reply packet.
-p The pattern operand allows you to specify up to 16 pad bytes to fill
out the packet you send. This is useful for diagnosing data-dependent
problems in a network. For example, -p causes the sent packet to be
filled with 1’s.
-P Use a pseudo-random sequence for the data instead of the default, fixed
sequence of incrementing 8-bit integers. This is useful to obstruct
compression on Point-to-Point Protocol (PPP) and other links.
-q Quiet output. Nothing is displayed except the summary lines displayed at
startup time and when finished.
-Q Do not display responses such as Network Unreachable ICMP messages
concerning the ECHO_REQUESTs sent.
-r Bypass the normal routing tables and send directly to a host on an
attached network. If the host is not on a direct-attached network, an error
is returned. This option can be used to ping a local host through an
interface that has no route through it.
-R Record route. Includes the RECORD_ROUTE option in the
ECHO_REQUEST packet and displays the route buffer on returned
packets. Note that the IP header is large enough for only eight such
routes (only six when using the -g option). Many hosts ignore or discard
this option.
-s The packetsize operand specifies the number of data bytes to be sent.
The default is 56, which translates into 64 ICMP data bytes when
combined with the 8 bytes of ICMP header data. The maximum allowed
value is 65,468 bytes.
-T The ttl operand allows you to use the specified time-to-live value.
-t The tos allows you to use the specified hexadecimal type of service.
-v Verbose output. Received ICMP packets other than ECHO_RESPONSE
are listed.
-w The maxwait operand specifies the number of seconds to wait for a
response to a packet before transmitting the next one. The default is
10.0.