#windows commonly used network commands
#View local network card interface information
ipconfig /all
#ping (commonly used to test network connectivity)
ping
#Routing related
#1. View the routing table (where 0.0.0.0 is the default routing configuration)
route print
#2. Add a route (if the -p parameter is added, it can mean adding a permanent route)
route add 192.168.1.0 maks 255.255.255.0 192.168.1.11
#3. Delete the route
route delete 192.168.1.0
#4. Tracking Routing
tracert
#Address resolution (map of IP address to mac address)
arp -a
#Network configuration (network connection command line configuration interface)
#Export local network connection configuration information
netsh interface ip dump > d:/
#Import network configuration
netsh exec d:/
#Set the local connection automatically configures through dhcp
netsh interface ip set address "local connection" duhp
#Set local connection static IP
netsh interface ip set address "local connection" static 192.168.1.11 255.255.255.0 192.168.1.1
#View domain name information (you can get the IP address corresponding to the domain name)
nslookup