Show DHCP class ID information at a client computer

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

 

To show DHCP class ID information at a client computer

  1. At a DHCP-enabled client computer running Windows XP or Windows 2000, open a Command Prompt.

  2. Use the Ipconfig command-line utility to show the DHCP class ID that the client uses when obtaining its lease from the DHCP server.

    You can type the ipconfig /showclassid command as demonstrated in the following example command. This example shows an ASCII string ("MyNewClassId") that is currently set as the DHCP class ID for the local area network connection at the client computer:

C:\>ipconfig /showclassid "Local Area Connection"

Windows XP IP Configuration

DHCP Class ID for Adapter "Local Area Connection":
        DHCP ClassID Name . . . . . . . . : Default BOOTP Class
        DHCP ClassID Description  . . . . : User class for BOOTP clients
        DHCP ClassID Name . . . . . . . . : Default Remote Access Class 
        DHCP ClassID Description  . . . . : User class for remote access clients

        Host Name . . . . . . . . . . . . : HOSTA
        Primary DNS Suffix  . . . . . . . : example.microsoft.com
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Combo PCMCIA EthernetCard
        Physical Address. . . . . . . . . : 00-00-00-00-7C-DC
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 10.0.0.51
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.0.0.1
        DHCP Class ID . . . . . . . . . . : MyNewClassId
        DNS servers . . . . . . . . . . . : 10.0.0.3
        Primary WINS server . . . . . . . : 10.0.0.5

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command Prompt.

  • For a DHCP options class to be in effect between the DHCP server and its clients, both must be configured with a matching DHCP class ID string that identifies the client as a member of a specific user or vendor options class when it obtains its address lease from the server.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Ipconfig
Manage Options and Classes
Set DHCP class ID information at a client computer
Setting Up Options
Understanding user and vendor classes