Setup Guide

Congure the System to be a DHCP Client
A DHCP client is a network device that requests an IP address and conguration parameters from a DHCP server.
Implement the DHCP client functionality as follows:
The switch can obtain a dynamically assigned IP address from a DHCP server. A start-up conguration is not received. Use bare metal
provisioning (BMP) to receive conguration parameters (OS version and a conguration le). BMP is enabled as a factory-default
setting on a switch.
A switch cannot operate with BMP and as a DHCP client simultaneously. To disable BMP in EXEC mode, use the stop bmp command.
After BMP stops, the switch acts as a DHCP client.
Acquire a dynamic IP address from a DHCP client is for a limited period or until the client releases the address.
A DHCP server manages and assigns IP addresses to clients from an address pool stored on the server. For more information, refer to
Conguring the Server for Automatic Address Allocation.
Dynamically assigned IP addresses are supported on 10-Gigabit and 40-Gigabit interfaces. The DHCP client is supported on VLAN and
port-channel interfaces.
The public out-of-band management interface and default VLAN 1 are congured by default as a DHCP client to acquire a dynamic IP
address from a DHCP server.
DHCP Client on a Management Interface
These conditions apply when you enable a management interface to operate as a DHCP client.
The management default route is added with the gateway as the router IP address received in the DHCP ACK packet. It is required to
send and receive trac to and from other subnets on the external network. The route is added irrespective when the DHCP client and
server are in the same or dierent subnets. The management default route is deleted if the management IP address is released like
other DHCP client management routes.
ip route for 0.0.0.0 takes precedence if it is present or added later.
Management routes added by a DHCP client display with Route Source as DHCP in the show ip management route and show
ip management-route dynamic command output.
Management routes added by DHCP are automatically reinstalled if you congure a static IP route with the ip route command that
replaces a management route added by the DHCP client. If you remove the statically congured IP route using the no ip route
command, the management route is reinstalled. Manually delete management routes added by the DHCP client.
To reinstall management routes added by the DHCP client that is removed or replaced by the same statically congured management
routes, release the DHCP IP address and renew it on the management interface.
Management routes added by the DHCP client have higher precedence over the same statically congured management route. Static
routes are not removed from the running conguration if a dynamically acquired management route added by the DHCP client
overwrites a static management route.
Management routes added by the DHCP client are not added to the running conguration.
NOTE
: Management routes added by the DHCP client include the specic routes to reach a DHCP server in a dierent subnet
and the management route.
DHCP Client Operation with Other Features
A DHCP client also operates with the following software features.
Virtual Link Trunking (VLT)
A DHCP client is not supported on VLT interfaces.
Dynamic Host
Conguration Protocol (DHCP) 359