ip dhcp

Syntax

ip dhcp

Description

Enables the DHCP client on the management interface enabling the interface to automatically obtain an IP address from a DHCP server on the network. By default, the DHCP client is enabled.

Command context

config-if-mgmt

Authority

Administrators

Examples

This example enables the DHCP client on the management interface.

switch(config)# interface mgmt
switch(config-if-mgmt)# ip dhcp