O'Reilly logo

Implementing Cisco Networking Solutions by Harpreet Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required