Command
IP Address DHCP
Use
This command is used to set an interface’s ip address via DHCP.
Syntax
Router(config)#ip address dhcp
Example
In this example, we will set 2611XM’s Fa0/0 interface to have its IP resolved by DHCP. First, lets check the current address.
2611XM(config)#do show ip int br |
Now lets use ip address dhcp
2611XM(config-if)#ip address dhcp 2611XM(config-if)# |