The ping command

The ping command is by far the most commonly used command to troubleshoot connectivity issues. This command sends Internet Control Message Protocol (ICMP) echo messages and verifies connectivity to the destination as it gets the ICMP echo reply messages. ICMP is an integral part of the TCP/IP protocol suite that provides troubleshooting capabilities. ICMP packets are also used in IP SLA probes.

The ping command can be used to ping the destination IP address, with a specific number of packets and by specifying the size of the datagrams. The syntax is as follows:

Figure 3: Pinging a host to verify connectivity

The ping response ...

Get Implementing Cisco Networking Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.