Network Troubleshooting Dos Commands

Network Troubleshooting Dos Commands

Ping is the most important troubleshooting command and it checks the connectivity with the other computers. For example your system’s IP address is and your network servers’ IP address is and you can check the connectivity with the server by using the
Ping command in following format.

At DOS prompt type Ping and press enter

If you get the reply from the server then the connectivity is ok and if you get the error message like this “Request time out” this means the there is some problem in the connectivity with the server.

IPconfig is another important command in Windows. It shows the IP address of the computer and also it shows the DNS, DHCP, Gateway addresses of the network and subnet mask.

At DOS prompt type ipconfig and press enter to see the IP address of your computer.

At DOS prompt type inconfig/all and press enter to see the detailed information.

NSLOOKUP is a TCP/IP based command and it checks domain name aliases, DNS records, operating system information by sending query to the Internet Domain Name Servers. You can resolve the errors with the DNS of your network server

Hostname command shows you the computer name.

At DOS prompt type Hostname and press enter

NETSTAT utility shows the protocols statistics and the current established TCP/IP connections in the computer.

NBTSTAT helps to troubleshoot the NETBIOS name resolutions problems.

ARP displays and modifies IP to Physical address translation table that is used by the ARP protocols.

Finger command is used to retrieve the information about a user on a network.

Tracert command is used to determine the path of the remote system. This tool also provides the number of hops and the IP address of each hop. For example if you want to see that how many hops (routers) are involved to reach any URL and what’s the IP address of each hop then use the following command.

At command prompt type tracert you will see a list of all the hops and their IP addresses.

Traceroute is a very useful network debugging command and it is used in locating the server that is slowing down the transmission on the internet and it also shows the route between the two systems

Route command allows you to make manual entries in the routing table.

14 thoughts on “Network Troubleshooting Dos Commands

  1. Nawal kishor shah

    sir i am system administrator. i need some support of urs. so please help me. i am waiting for ur positive response

  2. slowrunning

    XP starts up way to slow, and internet is said to be ok on server end (wish I could check) because it is to darn slow. I want be able to work from home. me seaches are taking me all over the place and not really finding good help. Would like to clean up system through Dos. Is there a real place on the web that help me? Love to Run fast thanks

    1. Jugal Shah Post author

      you can follow few checklist. 1. Delete temporary files using del *.tmp/f/s
      2. Disable the unused services
      3. Remove the unused software
      4. Check for the config file and startup option and remove the .exe which are not required.

  3. muhammed aslam pm

    I’m Aslam i’m a system administrator. pls send me network related and hardware related trouble shooting commands pls

    1. Jugal Shah Post author

      you can try systeminfo, ping, ipconfing, net stats, tracealert etc for your day to day troubleshooting. focus more on configuration manager and event viewer log…

  4. cedarman

    i just want to know how i can see what the user doing in the network i need a comm in dos that let me see what they did for the last week

  5. kvezhi

    When I enter the tracert command , all i get is this message “tracert is not recognized as an internal or external command”. What do you think is the problem?

    1. Jugal Shah Post author

      Check whether it is installed or not. Which OS version you are using… for example httocfg.exe is now NETSH in Windows Vista and Windows Server 2008


Thanks for the comment, will get back to you soon... Jugal Shah

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s