CLI Reference Guide-R04

Table Of Contents
Chapter 30
| DHCP Commands
DHCP Client
– 868 –
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)#end
Console#ip dhcp restart client
Console#show ip interface
VLAN 1 is Administrative Up - Link Up
Address is 8C-EA-1B-B7-C9-F4
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.2.218 Mask: 255.255.255.0
Proxy ARP is disabled
DHCP Client Vendor Class ID (text): ECS4120-28F-I
DHCP Relay Server:
Console#
Related Commands
ip address (894)
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)
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.