Administrator Guide
Congure the System to be a DHCP Client
A DHCP client is a network device that requests an IP address and conguration 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 conguration is not received. Use bare metal
provisioning (BMP) to receive conguration parameters (OS version and a conguration 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
Conguring 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 congured 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 trac 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 dierent 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 congure a static IP route with the ip route command that
replaces a management route added by the DHCP client. If you remove the statically congured 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 congured 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 congured management route. Static
routes are not removed from the running conguration 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 conguration.
NOTE
: Management routes added by the DHCP client include the specic routes to reach a DHCP server in a dierent 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
Conguration Protocol (DHCP) 357