DHCP C
OMMANDS
4-157
DHCP Commands
These commands are used to configure Dynamic Host Configuration
Protocol (DHCP) client, relay, and server functions. You can configure any
VLAN interface to be automatically assigned an IP address via DHCP. This
switch can be configured to relay DHCP client configuration requests to a
DHCP server on another network, or you can configure this switch to
provide DHCP service directly to any client.
DHCP Client
ip dhcp client-identifier
This command specifies the DCHP client identifier for the current interface.
Use the no form to remove this identifier.
Syntax
ip dhcp client-identifier {text text | hex hex}
no ip dhcp client-identifier
• text - A text string. (Range: 1-15 characters)
• hex - The hexadecimal value.
Table 4-42 DHCP Commands
Command Group Function Page
DHCP Client Allows interfaces to dynamically acquire IP address
information
4-157
DHCP Relay Relays DHCP requests from local hosts to a remote
DHCP server
4-159
DHCP Server Configures DHCP service using address pools or static
bindings
4-161
Table 4-43 DHCP Client Commands
Command Function Mode Page
ip dhcp
client-identifier
Specifies the DHCP client identifier for this
switch
IC 4-157
ip dhcp restart client Submits a BOOTP or DHCP client request PE 4-158