Article ID: 235272 - View products that this article applies to.
This article was previously published under Q235272
Windows 2000 DHCP clients support DHCP Class ID options. You can configure this feature by using Ipconfig.exe command-line switches.
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_SETIf ADAPTER_NAME contains spaces, enclose it in quotation marks. For example:
ipconfig /setclassid "Local Area Connection" teamnetTo clear and disable DHCP Class ID, leave CLASS_ID_TO_SET blank:
ipconfig /setclassid ADAPTER_NAMETo query:
ipconfig /showclassid ADAPTER_NAMEMore information is available by typing ipconfig /?:
For unattended installations, use the following parameters in the [MS_TCPIP parameters] section of the Unattend.txt file:
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.
Specifies the DHCP class ID. For example:
DHCPClassId = name
Contact us for more help
Connect with Answer Desk for expert help.