Command Line Interface
DHCP Commands
These commands are used to configure Dynamic Host Configuration Protocol (DHCP) client. You can configure any VLAN interface to be automatically assigned an IP address via DHCP.
DHCP Client
Command | Function | Mod | Pag |
|
| e | e |
|
|
|
|
ip dhcp | Specifies the DHCP client identifier for this switch | IC | |
|
|
|
|
ip dhcp restart client | Submits a BOOTP or DHCP client request | PE | |
|
|
|
|
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
•text - A text string. (Range:
•hex - The hexadecimal value.
Default Setting
None
Command Mode
Interface Configuration (VLAN)
Command Usage
This command is used to include a client identifier in all communications with the DHCP server. The identifier type depends on the requirements of your DHCP server.
Example
Console(config)#interface vlan 2
Related Commands
ip dhcp restart client