Configure the DHCP Client for a Segmented Management Instance

Use this task to configure the DHCP Client to obtain an IPv4 address for the Management Instance VLAN interface or Out-of-Band interface.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enable and configure the DHCP Client for a management interface:

    mgmt dhcp-client {cycle | oob | vlan}

Example

The following example configures the DHCP Client to cycle IPv4 requests for the management OOB interface, and then the In-Band management VLAN interface; priority is given to the OOB interface. The system cycles attempts until one management interface receives an IP address from the DHCP server:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#mgmt dhcp-client cycle

Variable Definitions

The following table defines parameters for the mgmt dhcp-client command.

Variable

Value

cycle

DHCP Client cycles IP requests for in-band VLAN and Out-of-Band management interfaces.

oob

DHCP Client requests an IP address for the Out-of-Band management interface.

vlan

DHCP Client requests an IP address for the VLAN management interface.