Cisco Cisco Unified MeetingPlace Audio Server Maintenance Manual

Page of 313
A-41
Cisco MeetingPlace Audio Server 5.2 Customer Engineering Guide (for Cisco MeetingPlace 8106)
78-16411-01
Appendix A      CLI Reference
  ping
ping
Summary
The “ping” command tests network connectivity.
Description
The Internet is a large and complex aggregation of network hardware, connected together by gateways. 
Tracking a single-point hardware or software failure can often be difficult. The “ping” command utilizes 
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 struct timeval, and then an arbitrary number of “pad” bytes used to fill out the packet. Default 
datagram length is 64 bytes, but this may be changed using the command-line option.
Options
The “ping” command can be used in the following ways:
ping -r <host> — bypasses the normal routing tables and sends directly to a host on an attached 
network. If the host is not on a directly attached network, returns an error. This option can be used 
to ping a local host through an interface that has no route through it (for example, after the interface 
was dropped by routed).
ping -v <host> — lists ICMP packets other than ECHO_RESPONSE that are received.
Note
The <host> argument is either a host name or IP address. MeetingPlace has no host name lookup 
mechanism, so normally an IP address should be used.
Note
When using the “ping” command for fault isolation, run it first on the local host to verify the local 
network interface is up and running. Then hosts and gateways further and further away should be 
“ping”ed. The “ping” command sends one datagram per second and prints one line of output for every 
ECHO_RESPONSE returned. No output is produced if there is no response. If an optional count is given, 
only that number of requests is sent. Round-trip times and packet loss statistics are computed. When all 
responses have been received or the program times out (with a count specified), or if the program is 
terminated with a SIGINT, a brief summary is displayed.
Note
The “ping” command is intended for use in network testing, measurement, and management. It should 
be used primarily for manual fault isolation. Because of the load it could impose on the network, it is 
unwise to use the “ping” command during normal operations or from automated scripts.