ip dhcp-client retain-address

This command enables the device to not request the previous address obtained through DHCP.

Syntax

ip dhcp-client retain-address

Command Mode

Privileged User

Example

This example enables the device to not request the previous address obtained through DHCP for the Gigabit Ethernet interface.

(config-data)# interface gigabitethernet 0/0
(conf-if-GE 0/0)# ip dhcp-client retain-address