ECS4110-28P_Management Guide

Table Of Contents
C
HAPTER
45
| DHCP Commands
DHCP Client
– 1412
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.
SYNTAX
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)
DEFAULT SETTING
Class identifier option enabled, and the default string is the unit model
number
COMMAND MODE
Interface Configuration (VLAN)
COMMAND USAGE
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. Options 60, 66 and 67 statements can be added to the
server daemon’s configuration file.
By default, DHCP option 66/67 parameters are not carried in a DHCP
server reply. To ask for a DHCP reply with option 66/67 information, the
DHCP client request sent by this switch includes a “parameter request
list” asking for this information. Besides, the client request also
includes a “vendor class identifier” set by the ip dhcp client class-id
command that allows the DHCP server to identify the device, and select
the appropriate configuration file for download. This information is
included in Option 55 and 124.
Table 206: Options 60, 66 and 67 Statements
Option
Statement
Keyword Parameter
60 vendor-class-identifier a string indicating the vendor class identifier
66 tftp-server-name a string indicating the tftp server name
67 bootfile-name a string indicating the bootfile name