CMD
COMMON CMD USED
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer's currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.
ipconfig: Displays the basic TCP/IP configuration for all adapters.
ipconfig /all: Displays the full TCP/IP configuration for all adapters.
ipconfig /release: Releases the IP address assigned to the computer.
ipconfig /renew: Renews the IP address assigned to the computer.
ipconfig /flushdns: Purges the DNS resolver cache.
ipconfig /registerdns: Refreshes all DHCP leases and re-registers DNS names.
ipconfig /displaydns: Displays the contents of the DNS cache.
ipconfig /showclassid: Displays the DHCP class ID for network adapters.
ipconfig /setclassid: Sets the DHCP class ID for network adapters.
ipconfig /allcompartments: Displays the full TCP/IP configuration for all adapters, including all compartments.
ipconfig /release6: Releases the IPv6 address assigned to the computer.
ipconfig /renew6: Renews the IPv6 address assigned to the computer.
ipconfig /showclassid6: Displays the IPv6 DHCP class ID for network adapters.
ipconfig /setclassid6: Sets the IPv6 DHCP class ID for network adapters.
ipconfig /flushdns6: Purges the IPv6 DNS resolver cache.