ip dhcp-client enable

Enables DHCP client auto-update.
Syntax
ip dhcp-client enable
no ip dhcp-client enable
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 disables the DHCP client.

Examples

The following example enables the DHCP client on a switch.

device(config)# ip dhcp-client enable

The following example enables the DHCP client on a router.

device(config-if-e1000-1/1/1)# ip dhcp-client enable

On a router, enter the ip dhcp-client enable command to re-enable the DHCP client.

device(config-if-ve1)# ip dhcp-client enable
History
Release version Command history
08.0.61 Example for enabling DHCP client on VE was added.