ip dhcp-client enable
Enables DHCP client.
Modes
Global configuration mode
Interface configuration mode
Usage Guidelines
You can enable this command on a switch in global configuration mode. On routers, you can enable this command in interface configuration mode.
The no form of the command
is not supported for Virtual Ethernet (VE) interfaces.
Examples
The following example enables the DHCP client for a switch.
device# configure terminal device(config)# ip dhcp-client enable
The following example enables the DHCP client for a router.
device# configure terminal device(config)# interface ethernet 1/1/1 device(config-if-e1000-1/1/1)# ip dhcp-client enable
History