Dynamic Host Configuration Protocol (DHCP) | 169
Configure the System to be a DHCP Client
A DHCP client is a network device that requests an IP address and configuration parameters from a DHCP
server. On an MXL Switch, the DHCP client functionality is implemented as follows:
• The switch can obtain a dynamically-assigned IP address from a DHCP server. The switch does not
receive a start-up configuration. To receive configuration parameters (FTOS version and a
configuration file), you must use bare metal provisioning (BMP) on the switch (see Bare Metal
Provisioning (BMP) on page 101). BMP is enabled on a switch as a factory-default setting.
A switch cannot operate with BMP and as a DHCP client at the same time. You can disable BMP by
entering the
stop jump-start command in EXEC mode. After BMP is stopped, the switch can act as a
DHCP client.
• The dynamic IP address acquired by a DHCP client is for a limited period of time 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
(see Create an IP Address Pool on page 163).
• Dynamically-assigned IP addresses are supported only on Ethernet interfaces: 10-Gigabit, 40-Gigabit,
and 100/1000/10000 Ethernet interfaces. DHCP client is supported on VLAN and port-channel
interfaces
• The public out-of-band management interface and default VLAN 1 are configured, by default, as a
DHCP client to acquire a dynamic IP address from a DHCP server.
To configure an interface to operate as a DHCP client to receive an IP address, follow these steps:
On an MXL switch configured as a DHCP client, you can release a dynamically-assigned IP address
without removing the DHCP client operation on the interface. You can later manually acquire a new IP
address from the DHCP server as follows:
Step Task Command Syntax Command Mode
1 Enter interface configuration mode on an
Ethernet interface.
interface type slot/port
CONFIGURATION
2 Configure the Ethernet interface to acquire its IP
address from a DHCP network server.
To release a DHCP-assigned IP address and
remove the interface from being a DHCP client,
enter the no ip address dhcp command.
ip address dhcp
INTERFACE
Task Command Syntax Command Mode
Release a dynamically-acquired IP address while retaining
the DHCP client configuration on the interface.
release dhcp interface type slot/port
EXEC Privilege
Acquire a new IP address with renewed lease time from a
DHCP server.
renew dhcp interface type slot/port
EXEC Privilege