How Extended Ping works

How Extended Ping works

The ping (Packet InterNet Groper) command is a handy tool that is widely used to troubleshoot connectivity between two networked devices. It uses ICMP (Internet Control Message Protocol) to send query to remote device and generate echo replies.

The regular ping checks connectivity if the remote device is present and connected. Extended Ping, you can specify more options such as protocol, target IP address, source IP address, source interface, repeat count, datagram size, timeout, etc. These options are helpful for the network administrator to alter the behavior of the ping command for detailed troubleshooting.

Here is an example of extended ping:


R02#ping
Protocol [ip]:
Target IP address: 10.1.2.2
Repeat count [5]: 10
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 10.1.2.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 10.1.2.2, timeout is 2 seconds:
Packet sent with a source address of 10.1.2.1
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 0/0/1 ms
R02#


Publisher: abdirahman isse

Share this post