Chapter 25
| DHCP Commands
DHCP for IPv6
– 635 –
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 12-34-12-34-12-34
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.0.9 Mask: 255.255.255.0
Console#
Related Commands
ip address (646)
DHCP for IPv6
ipv6 dhcp client
rapid-commit vlan
This command specifies the Rapid Commit option for DHCPv6 message exchange
for all DHCPv6 client requests submitted from the specified interface. Use the no
form to disable this option.
Syntax
[no] ipv6 dhcp client rapid-commit vlan vlan-list
vlan-list - VLAN ID, specified as a single number, a range of consecutive
numbers separated by a hyphen, or multiple numbers separated by
commas. (Range: 1-4094; Maximum command length: 300 characters)