For example, the PING command is for checking if a remote computer or device is network accessible (note: this can be block by the device's firewall). The IPCONFIG command displays information about the computer's TCP/IP configuration, such as its IP address.
To access these utilities utilizing the command prompt, from the Start screen, type CMD and press Enter. To exit the command prompt, close the window or type EXIT and press enter. For more information and options on any of the commands below, use the "/?" switch at the end of them (e.g. PING /?).
PING [hostname]
Example : ping example.comTRACERT [hostname]
Preforms a basic network test to check communication with a remote device.
Example: traceroute example.comIPCONFIG
Shows the path and the number of routers (aka 'network hops') that the data passes through to arrive to the destination, if a connection is broken, this will show where it could be happening.
Example : ifconfigNSLOOKUP [hostname]
Shows the basic TCP/IP network configuration for the computer, such as the IP address, subnet mask, and default gateway.
Example: nslookup example.comNETSTAT [options]
Displays the remote IP address assigned to a domain name based on the DNS information. This is a good test to make sure that the DNS connection is working properly.
Below is an example of the output:
Non-authoritative answer:
Name: example.com
Address: 192.0.34.166
Example: netstat -ntTELNET [hostname] [port]
Displays the current TCP/IP based connections established on the computer. This is handy to see the remote TCP/IP connections the system is using.
Example: telnet example.com 80ARP [options]
Provides a simple terminal session with another computer to perform different tasks, such as remote device administration or running text based applications. This utility can also be used for doing basic troubleshooting on HTTP, SMTP, and other text based services.
Example: arp -aNBTSTAT [options]
Shows and manages the local computer's address translation tables
Example: nbtstat -nNETSH [options]
Shows protocol statistics for NBT (NetBIOS over TCP/IP) connections.
Example: netsh interface show interfaceNET [options]
Manages local or remote network configurations.
Example: net viewNLTEST [options]
Displays or configures advanced network and system settings.
Example: nltest /queryPATHPING [hostname]
Tests the secure channels between a Windows computer in a domain and domain controllers.
Example: pathping example.comGETMAC [options]
Functions similarly to TRACERT command but also reports information about network latency and loss at each router.
Example: getmacHOSTNAME
Displays the MAC addresses for the NIC(s) attached to the computer.
Example: hostnameROUTE [options]
Shows the network name of the local computer.
Example: route print
Displays and manages the local computers network routing tables.
No comments:
Post a Comment