Home
> Commands A-M
> Commands I
IPCONFIG
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
This diagnostic command displays all current TCP/IP network
configuration values. This command is of particular use on
systems running DHCP, allowing users to determine which TCP/IP
configuration values have been configured by DHCP.
Syntax
IPCONFIG
/?
IPCONFIG
[/all
| /renew [adapter]
| /release [adapter]]
[/displaydns]
[/flushdns]
[/registerdns]
[/setclassid adapter [classid]]
[/showclassid adapter]
All of the current TCP/IP configuration values to the user,
including IP address and subnet mask:
IPCONFIG
Parameters
none.
Switches
- /?
(NTXP)
- Displays help.
- /all
(NT3.5)
- Produces a full display. Without this switch, ipconfig
displays only the IP address, subnet mask, and default
gateway values for each network card.
- /displaydns
(NT2000)
- Displays the contents of the DNS client resolver cache,
which includes both entries preloaded from the local Hosts
file and any recently obtained resource records for name
queries resolved by the computer. The DNS Client service
uses this information to resolve frequently queried names
quickly, before querying its configured DNS servers.
- /flushdns
(NT2000)
- Flushes and resets the contents of the DNS client
resolver cache. During DNS troubleshooting, you can use
this procedure to discard negative cache entries from
the cache, as well as any other entries that have been
added dynamically.
- /registerdns
(NT2000)
- Initiates manual dynamic registration for the DNS
names and IP addresses that are configured at a computer.
You can used to troubleshoot a failed DNS name
registration or resolve a dynamic update problem between
a client and the DNS server without rebooting the client
computer. The DNS settings in the advanced properties of
the TCP/IP protocol determine which names are registered
in DNS.
- /release [adapter]
(NT3.5)
- Releases the current DHCP configuration. This option
disables TCP/IP on the local system and is available only
on DHCP clients. To specify an adapter name, type the
adapter name that appears when you use ipconfig without
parameters.
- /renew [adapter]
(NT3.5)
- Renews DHCP configuration parameters. This option is
available only on systems running the DHCP Client service.
To specify an adapter name, type the adapter name that
appears when you use ipconfig without parameters.
- /setclassid adapter [classid]
(NTXP)
- Configures the DHCP class ID for a specified adapter.
To set the DHCP class ID for all adapters, use the asterisk
(*) wildcard character in place of Adapter. Available only
on computers with adapters that are configured to obtain an
IP address automatically. If a DHCP class ID is not
specified, the current class ID is removed.
- /showclassid adapter
(NTXP)
- Displays the DHCP class ID for a specified adapter.
To see the DHCP class ID for all adapters, use the asterisk
(*) wildcard character in place of Adapter. Available only
on computers with adapters that are configured to obtain an
IP address automatically.
Related
PING
Notes
none.
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
none
- Windows
-
none
- Windows NT
-
NT3.5
NT3.51
NT4
NT2000
NTXP
NT2003
Last Updated: 2006/12/01
Direct corrections or suggestions to:
Rick Lively