Top 10 commands for network debbuging Windows 10/11 ( command prompt ) cmd

Network debugging in Windows 10 can involve various commands to diagnose and troubleshoot network-related issues.
Here are the top 10 commands that can be useful for network debugging on Windows 10:

  1. ipconfig:
    ipconfig /all
    Displays the configuration of all network interfaces, including IP addresses, subnet masks, gateways, and DNS servers.
  2. ping:
    ping <hostname or IP address>
    Tests connectivity to a specific host by sending ICMP echo request packets.
  3. tracert:
    tracert <hostname or IP address>
    Traces the route that packets take to reach a destination, showing the IP addresses of the routers along the way.
  4. nslookup:
    nslookup <hostname or IP address>
    Performs DNS queries to retrieve information about a domain or IP address.
  5. netstat:
    netstat -ano
    Displays active network connections, listening ports, and related information. The -ano option includes the process ID (PID) associated with each connection.
  6. arp:
    arp -a
    Displays the ARP (Address Resolution Protocol) cache, showing the mapping of IP addresses to physical MAC addresses.
  7. route:
    route print
    Shows the routing table, displaying the network routes used by the system to reach different destinations.
  8. nbtstat:
    nbtstat -n
    Displays NetBIOS over TCP/IP (NBT) information, including NetBIOS name cache and the registered names.
  9. telnet:
    telnet <hostname or IP address> <port>
    Tests connectivity to a specific port on a remote host. Note: Telnet needs to be enabled on the Windows system for this to work.
  10. Firewall Command Windows:
    • Display firewall rules:
      netsh advfirewall show rule name=all
    • Reset firewall settings to default:
      netsh advfirewall reset

Remember to run these commands from an elevated Command Prompt (Run as Administrator) to ensure that you have the necessary permissions to execute them.
Additionally, some commands may require specific network utilities to be enabled or installed on your system.