Chapter 24
| DHCP Commands
DHCP Client
– 592 –
Related Commands
ip dhcp restart client
This command submits a BOOTP or DHCP client request.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
◆
This command issues a BOOTP or DHCP client request for any IP
interface that has been set to BOOTP or DHCP mode through the
command.
◆
DHCP requires the server to reassign the client’s last address if available.
◆
If the BOOTP or DHCP server has been moved to a different domain, the
network portion of the address provided to the client will be based on this
new domain.
Example
In the following example, the device is reassigned the same address.
Console(config)#interface vlan 1
Console(config-if)#ip address dhcp
Console(config-if)#exit
Console#ip dhcp restart client
Console#show ip interface
VLAN 1 is Administrative Up - Link Up
Address is 00-E0-00-00-00-01
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.0.2 Mask: 255.255.255.0
Proxy ARP is disabled
DHCP Relay Server:
Console#
Related Commands
show ip dhcp
dynamic-provision
This command shows the status of dynamic provision via DHCP.
Command Mode
Privileged Exec