ip address dhcp
Use this command to get an IP address from a DHCP Dynamic Host Configuration Protocol server for this interface.
Use the no
form of this command to disable the DHCP client A DHCP client is a hardware device or software that uses DHCP to get the network configuration information from a DHCP Server.
VRF: VRF creates a logically isolated routing table within a single physical network device. Each VRF instance works as an independent routing instance that enables separate network traffic, maintains different routing tables, and provides network isolation. for this interface.
Configure the comand ip dhcp client request before configuring the ip address dhcp command to request additional options.
Command Syntax
ip address dhcp
no ip address dhcp
Parameters
None
Default
None
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip address dhcp
(config-if)#