Commonly used network commands under Windows

  
Users who use computer
should often encounter some network
problems, or want to know more about their own
network
situation. Here are some common network commands for Windows, so that you can understand your network environment more quickly.
In the Windows environment, use the following common network commands on test machines A and B respectively:
ipconfig and ipconfig/all
ipconfig show the simple situation of the local IP address configuration
ipconfig /all display Detailed information about the configuration of the local IP address, etc.
ping and ping –t
ping Test the connectivity of the network, send 4 ICMP Type 8 packets to the other party, and respond to 4 ICMP Type 0 messages. Give the machine
ping –t, and send ICMP type 8 packets continuously. As long as the other host is alive, ICMP type 0 message will be continuously responded.
arp –a,arp –d and arp –s
arp –a Display the local arp cache content, the correspondence between the IP address of the other party and the other party's mac address
arp –d Delete The local arp cache content clears the correspondence between the ip address and the mac address.
arp –s The correspondence between the ip address and the mac address in the arp cache of the local binding is a static relationship.
Others:
netstat –an Shows the network connection of this unit.



































The situation can be used for the judgment and analysis of network connectivity and general
failure
.



Copyright © Windows knowledge All Rights Reserved