What is a Ping command and how do i use it?

What is it?

If you are having connectivity problems, you can use the ping command to check the destination IP address and record the results. The ping command displays whether the destination responded and how long it took to receive a reply. If there is an error in the delivering a packet to the destination, the ping command displays an error message.

How do I do it?

Open a Command / DOS window, then type:

Ping <IP Address> 

E.G. ping 192.168.0.200

If your ping is successful you will receive a reply which looks something similar to below.

C:\>ping 192.168.0.200
Pinging 192.168.0.200 with 32 bytes of data:

Reply from 192.168.0.200: bytes=32 time<10ms TTL=32
Reply from 192.168.0.200: bytes=32 time<10ms TTL=32

Ping statistics for 192.168.0.200:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate roundtrip times in milliseconds:
    Minimum = 0ms, Maximum =  10ms, Average =  2ms

If your ping is unsuccessful you will receive a reply which looks something similar to below.

C:\>ping 192.168.0.200

Pinging 192.168.0.200 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.0.200:     
       Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

If you receive the above error, please check you are pinging a valid and active IP address or that your device's network cable is firmly seated and connected to the switch. If the IP address being pinged is definitely active and in use by another device the general cause of the error message is a faulty network cable, unplugged network cable or switch issues.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.