HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)
XPath OS 7.4.x command reference guide 159
Sends Internet Control Message Protocol (ICMP) ECHO_REQUEST packets to network hosts.
Synopsis
ping [-adfnoqrvDPQRL] [-c count] [-E policy] [-g gateway] [-i interval]
[-I ifaddr] [-l preload] [-p pattern] [-s packetsize] [-t tos] [-T ttl]
[-w maxwait] host
Description
Use this command to apply the two IP management ports in the system. For ping functionality on individual
ports that are configured for IP instead of Fibre Channel, see the rnPing command.
This command uses the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit an ICMP
ECHO_RESPONSE from a host or gateway. ECHO_REQUEST datagrams (pings) have an IP and ICMP
header, followed by a structtimeval and then an arbitrary number of pad bytes used to fill out the packet.
Operands
This command has the following optional operands:
ping
-a Emits an audible beep (by sending an ASCII BEL character to the
standard error output) after each unique response is received. This is
disabled for flood pings, as it might cause temporary delays.
-c Stops after sending (and waiting the specified delay to receive) count
ECHO_RESPONSE packets.
-d Sets the SO_DEBUG option on the socket being used.
-D Sets the DoNotFragmentbit option in the IP header. This can be used
to determine the path MTU.
-E Uses IPsec policy specification string policy for packets. For the format of
the specification string, see ipsec_set_policy 3. Note that this
option is the same as -P in KAME/FreeBSD and KAME/BSDI. -P was
already occupied in NetBSD.
-f Floods ping. Outputs packets either as fast as they come back or 100
times per second, whichever is faster. For every ECHO_REQUEST sent, a
period (.) is printed, while for every ECHO_REPLY received, a backspace
is printed. This option provides a rapid display of how many packets are
being dropped. Only the superuser can use this option.
NOTE: This option can be very hard on a network and should be used
with caution.
-g Uses Loose Source Routing to send the ECHO_REQUEST packets through
gateway.
-i Waits interval seconds between sending each packet. The default is
to wait for 1 second between each packet; when the -f operand is used,
the wait interval is 0.01 second.
-I Sends multicast datagrams on the network interface specified by the
interface host name or IP address.
-h An alternate way of specifying the target host instead of as the last
argument.