Article ID: 235272 - Last Review: February 27, 2007 - Revision: 3.2 How to Configure DHCP Class ID on a Windows 2000 DHCP ClientThis article was previously published under Q235272 SUMMARY
Windows 2000 DHCP clients support DHCP Class ID options. You can configure this feature by using Ipconfig.exe command-line switches.
MORE INFORMATION
To set and enable DHCP Class ID on a Windows 2000 DHCP client, type the following line at a command prompt:
ipconfig /setclassid ADAPTER_NAME CLASS_ID_TO_SET
If ADAPTER_NAME contains spaces, enclose it in quotation marks. For example:
ipconfig /setclassid "Local Area Connection" teamnet
To clear and disable DHCP Class ID, leave CLASS_ID_TO_SET blank:
ipconfig /setclassid ADAPTER_NAME
To query:
ipconfig /showclassid ADAPTER_NAME
More information is available by typing ipconfig /?:
Windows 2000 IP Configuration
USAGE:
ipconfig [/? | /all | /release [adapter] | /renew [adapter]
| /flushdns | /registerdns
| /showclassid adapter
| /setclassid adapter [classidtoset] ]
adapter Full name or pattern with '*' and '?' to 'match',
* matches any character, ? matches one character.
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 and
default gateway for each adapter bound to TCP/IP.
For Release and Renew, if no adapter name is specified, then the IP address
leases for all adapters bound to TCP/IP will be released or renewed.
For SetClassID, if no class id is specified, then the classid is removed.
Examples:
> ipconfig ... Show information.
> ipconfig /all ... Show detailed information
> ipconfig /renew ... renew all adapters
> ipconfig /renew EL* ... renew adapters named EL....
> ipconfig /release *ELINK?21* ... release all matching adapters,
eg. ELINK-21, myELELINKi21adapter.
DHCPClassId Value: string Optional Specifies the DHCP class ID. For example: DHCPClassId = name | Article Translations
|
Back to the top
