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

Article translations Article translations
Article ID: 235272 - View products that this article applies to.
This article was previously published under Q235272
Expand all | Collapse all

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.
				
For unattended installations, use the following parameters in the [MS_TCPIP parameters] section of the Unattend.txt file:
DHCPClassId
Value: string
Optional
Specifies the DHCP class ID. For example:
DHCPClassId = name

Properties

Article ID: 235272 - Last Review: February 27, 2007 - Revision: 3.2
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbhowto KB235272

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com