A diagnostic command that displays and sets TCP/IP network configuration settings.
ipconfig [/all [/renew [adapter]] [/release [adapter]] [/flushdns] [/displaydns] [/registerdns] [/showclassid adapter] [/setclassid adapter [classid]]
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
None | Displays the IP address, subnet mask, and default gateway for each network interface. |
[/all] | Produces all available configuration information. |
[/renew [adapter]] | Submits a request to renew the DHCP configuration parameters. |
[/release [adapter]] | Discards the current DHCP configuration. |
[/flushdns] | Clears and resets DNS client cache. |
[/displaydns] | Displays DNS client cache. |
[/registerdns] | Registers DNS names and IP addresses for the computer. |
[/showclassid adapter] | Displays the DHCP class ID for the specified network adapter. |
[/setclassid adapter [classid]] | Configures the DHCP class ID for the specified network adapter. |