Use of Netstat,Tracert,Nslookup & Ipconfig in CMD
Table of Contents
Netstat:
Netstat is a utility used in Windows computer to display TCP/IP statistics and details about TCP/IP components and connections to a host. Netstat is used to check what ports are open on your computer, to see which network connections are currently established,You can see how many packets have been handled by a network interface since it was activated.
For Use Utility : Go to Run – Type CMD and press Enter.
Command Prompt Windows Will Opened. Now Type Netstat and press Enter.
- Netstat -a – provides a list of all available TCP and UDP connections
- Netstat -e – displays details of packets that have been sent
- Netstat -n – lists currently connected hosts
- Netstat -p – allow to specify what type of protocol you want to check
- Netstat -r – provides a list of routing tables
- Netstat -s – gives statistics on IPv4, IPv6, ICMP, TCP, etc.
Tracert :
Tracert is utility used to check connectivity From one computer to another computer or Server.It will gives you details of all routers .
- Open Run menu Type CMD Press Enter – Type Tracert Space site name or Ip of System or site and press enter.
For Example : Tracert mahipaldodia.in
nslookup:
nslookup is used for check query of DNS tables ,using this utility you can check DNS server or Any specific DNS server you specify.
Run – CMD- and type nslookup and press Enter
Ipconfig:
Ipconfig command is used for check ip address ,Subnet Mask ,DNS Server ,DHCP Server ,Default Gateway of System.
it is very useful when you required to troubleshot your network issues.
Open Run Menu Type CMD Press Enter – Type IPCONFIG and Press Enter.
You may like to read more from my post :How to create Personal Command code for command prompt
You may also Like to Read more From my Post : How To Clear Hidden Information From Microsoft Documents