Using Command Prompt: Network Commands Exercise 2

FOR~GO
(For Geeks Only)
By Joe Callison
5 August 2020

This exercise will use the network commands “ping”, “pathping”, “tracert”, and “netstat” in the Command Prompt. The commands will also work in PowerShell. Running in administrator mode is not required, but can be invoked by a right-click on the app, select More and then Run as administrator. Help for using commands and all of their options can be viewed by typing the command followed by a space and then /? and then press enter.  

Using Ping:
Open the Command Prompt and type ping followed by either an IP address or a domain name and then press enter. For example, ping 68.66.216.4 or ping kcsenior.net will send packets of data to the SenCom web site a few times and report the results. It is a useful command to determine if the computer is sending data and if the recipient is receiving and responding to  the data.

Using PathPing:
Similar to Ping except it displays the route and time that the data takes and provides performance over a 75 second period of pings.
Example,
pathping kcsenior.net

Using TraceRt (Trace Route):
Similar to PathPing except it displays the detailed route and time that the data takes for one ping.
Example,
tracert kcsenior.net

Using NetStat (Network Statistics):
This command provides network statistics useful for troubleshooting network problems.
Example, netstat -e

For much more detailed statistics, add the -s option, leaving a blank space between the two options as follows: netstat -e -s
(partial results shown)

 

Posted by Joe Callison

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.