ip address dhcp

This command enables a DHCP client on the specified interface. Use the no form of this command to disable DHCP client functionality.

Syntax

ip address dhcp
no ip address dhcp

Default

NA

Note

The interface’s IP address will be acquired via DHCP.

Command Mode

Privileged User

Example

This example configures a DHCP client on VLAN 6.

(config-data)# interface vlan 6
(conf-if-VLAN 6)# ip address dhcp