Symbol WS5000 Series System Reference Manual page 242

Hide thumbs Also See for WS5000 Series:
Table of Contents

Advertisement

8-10
WS 5000 Series System Reference
Parameters
-Rdfnqrv
These optional flags are can be broken down as follows:
• -R: Record route. Includes the RECORD_ROUTE option in the ECHO_REQUEST packet
• -d: Set the SO_DEBUG option on the socket being used. Essentially, this socket
• -f: Flood ping. For every ECHO_REQUEST sent a period ``.'' is printed, while for ever
• -n: Numeric output only. No attempt will be made to lookup symbolic names for host
• -q: Quiet output. Nothing is displayed except the summary lines at startup time and
• -r: Bypass the normal routing tables and send directly to a host on an attached
• -v: Verbose output.
-c count
Stop after sending count ECHO_REQUEST packets. With deadline option, ping waits for
count ECHO_REPLY packets, until the timeout expires.
-i wait
Wait interval of seconds between sending each packet. The default is to wait for one
second between each packet normally, or not to wait in flood mode. Only super-user may
set interval to values less 0.2 seconds.
-l preload
If preload is specified, ping sends that many packets not waiting for reply. Only the
super-user may select preload more than 3.
-p pattern
You may 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 ff will cause the sent packet to be filled with all ones.
-s packetsize
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.
host/IP_address
The name or IP address of the host to which the request packets are sent.
Example
WS5000> ping WS5000
PING WS5000 (10.1.1.101): 56 data bytes
64 bytes from 10.1.1.101: icmp_seq=0 ttl=255 time=0.037 ms
64 bytes from 10.1.1.101: icmp_seq=1 ttl=255 time=0.042 ms
64 bytes from 10.1.1.101: icmp_seq=2 ttl=255 time=0.05 ms
64 bytes from 10.1.1.101: icmp_seq=3 ttl=255 time=0.052 ms
--- WS5000 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.037/0.045/0.052 ms
WS5000>
and displays the route buffer on returned packets. Note that the IP header is only
large enough for nine such routes. Many hosts ignore or discard this option.
option is not used by Linux kernel.
ECHO_REPLY received a backspace is printed. This provides a rapid display of how
many packets are being dropped. If interval is not given, it sets interval to zero and
outputs packets as fast as they come back or one hundred times per second,
whichever is more. Only the super-user may use this option with zero interval.
addresses.
when finished.
interface. If the host is not on a directly-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 provided the option -I is also used.

Advertisement

Table of Contents
loading

Table of Contents