
Chapter 3 ROM Monitor Commands
ping
The ping command sends an Internet Control Message Protocol (ICMP) 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 structured time value and an arbitrary number of pad bytes that fill out the packet. The syntax for this command is:
ping host_ip_address [data_size] [npackets]
❑The host_ip_address entry is the Internet address of the host or gateway from which you wish to elicit a response.
❑The optional data_size entry is the number of bytes sent in a datagram packet. The default value is 64 and the maximum value is 1024.
❑The optional npackets entry is the number of packets to transmit. If you specify npackets, then you must also specify a data_size.
The ping command display looks something like this:
monitor:: ping 132.245.33.69
PING 132.245.33.69: 64 data bytes
If you enter the ping command without specifying an IP address, the display looks like this:
monitor:: ping
IP address required, ie: ping 132.245.33.69\ [data bytes] [npackets]
To exit out of ping either wait for npackets to be transmitted or, at any point, type q. The ping statistics display upon exit.