ip address dhcp
Use this command to specify that a DHCP client will be used to obtain an IP address for an interface.
Use the no parameter with this command to remove the IP address from an interface.
Command Syntax
ip address dhcp
no ip address dhcp
Parameters
None
Default
No default value is specified
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#interface eth3
(config-if)#ip address 10.10.10.50/24
(config-if)#ip address 10.10.11.50/24 secondary
(config-if)#ip address dhcp
Last modified date: 10/19/2023