USAGE: ipconfig [/? /all /renew [adapter] /release [adapter]
/flushdns /displaydns /registerdns
/showclassid adapter
/setclassid adapter [classid] ]
Options:
/? Display this help message
/all Display full configuration information.
/release Release the IP address for the specified adapter.
/renew Renew the IP address for the specified adapter.
/flushdns Purges the DNS Resolver cache.
/registerdns Refreshes all DHCP leases and re-registers DNS names
/displaydns Display the contents of the DNS Resolver Cache.
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.
The default is to display only the IP address, subnet mask anddefault gateway for each adapter bound to TCP/IP.
For Release and Renew, if no adapter name is specified, then the IP addressleases for all adapters bound to TCP/IP will be released or renewed.
For Setclassid, if no ClassId is specified, then the ClassId is removed.
Examples:
> ipconfig /all ... Show detailed information
Windows IP Configuration
Host Name . . . . . . . . . . . . : Sample Machine
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : B9-09-99-99-99-1A
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 1.24.196.102
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 1.24.196.71
DNS Servers . . . . . . . . . . . : 1.24.196.9
-----------------------------------
> ipconfig /release *Con* ... release all matching connections,
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . : 0.0.0.0
-------------------------------------
> ipconfig /renew ... renew all adapters
> ipconfig /renew EL* ... renew any connection that has its name starting with EL
Thursday, August 9, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment