| DHCP Commands
C
44
HAPTER
DHCP Client
DHCP for IPv4
ip dhcp client
class-id
This command specifies the DCHP client vendor class identifier for the
current interface. Use the no form to remove the class identifier from the
DHCP packet.
S
YNTAX
ip dhcp client class-id [text text | hex hex]
no ip dhcp client class-id
text - A text string. (Range: 1-32 characters)
hex - A hexadecimal value. (Range: 1-64 characters)
D
S
EFAULT
ETTING
Class identifier option enabled, with the name ES3528MV2
C
M
OMMAND
ODE
Interface Configuration (VLAN)
C
U
OMMAND
SAGE
Use this command without a keyword to restore the default setting.
◆
This command is used to identify the vendor class and configuration of
◆
the switch to the DHCP server, which then uses this information to
decide on how to service the client or the type of information to return.
The general framework for this DHCP option is set out in RFC 2132
◆
(Option 60). This information is used to convey configuration settings
or other identification information about a client, but the specific string
to use should be supplied by your service provider or network
administrator.
The server should reply with Option 66 attributes, including the TFTP
◆
server name and boot file name.
E
XAMPLE
Console(config)#interface vlan 2
Console(config-if)#ip dhcp client class-id hex 0000e8666572
Console(config-if)#
R
C
ELATED
OMMANDS
ip dhcp restart client (1385)
– 1384 –