Chapter 29
| DHCP Commands
DHCP Client
– 886 –
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): ECS4620-28F
DHCP Inform is disabled
DHCP relay server: 0.0.0.0
Console#
Related Commands
ip address (908)
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-id
vlan-id - 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)
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
â—† DHCPv6 clients can obtain configuration parameters from a server through a
normal four-message exchange (solicit, advertise, request, reply), or through a
rapid two-message exchange (solicit, reply). The rapid-commit option must be
enabled on both client and server for the two-message exchange to be used.
â—† This command allows two-message exchange method for prefix delegation.
When enabled, DCHPv6 client requests submitted from the specified interface
will include the rapid commit option in all solicit messages.