Chapter 26
| DHCP Commands
DHCP Client
– 643 –
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 ip address 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 Client Vendor Class ID (text): ECS4510-28T
DHCP Relay Server:
Console#
Related Commands
ip address (652)
show ip dhcp
dynamic-provision
This command shows the status of dynamic provision via DHCP.
Command Mode
Privileged Exec
Example
Console#show ip dhcp dynamic provisioning
Dynamic Provision via DHCP Status: Disabled
Console#