Microsoft KB Archive/235272

= How to Configure DHCP Class ID on a Windows 2000 DHCP Client =

Article ID: 235272

Article Last Modified on 2/27/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This 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

If  contains spaces, enclose it in quotation marks. For example:

ipconfig /setclassid "Local Area Connection" teamnet

To clear and disable DHCP Class ID, leave  blank:

ipconfig /setclassid

To query:

ipconfig /showclassid

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. For unattended installations, use the following parameters in the [MS_TCPIP parameters] section of the Unattend.txt file:

DHCPClassId

Value:

Optional

Specifies the DHCP class ID. For example:

DHCPClassId = name

Keywords: kbhowto KB235272

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.