DHCP Management Interface Commands 347
Example
console#release dhcp vlan2
renew dhcp
Use the renew dhcp command in Privileged EXEC mode to force the DHCP
client to immediately renew an IPv4 address lease.
Syntax
renew dhcp {
interface-id
| out-of-band}
Parameter Description
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC
User Guidelines
If the interface has a leased IPv4 address when this command is issued, the
DHCP client sends a DHCP REQUEST mess age telling the DHCP server
that it wants to continue using the IP address. If DHCP is enabled on the
interface, but the interface does not currently have an IPv4 address (for
example, if the address was previously released), then the DHCP client sends
a DISCOVER to acquire a new address. If DHCP is not enabled on the
interface, then the command fails and displays the following error message:
DHCP is not enabled on this interface
Parameter Description
interface-id Any valid routing interface. See Interface Naming Conventions
for interface representation.
out-of-band Keyword to identify the out-of-band interface. The DHCP
client renews the leased address on this interface.
2CSPC4.XCT-SWUM2XX1.book Page 347 Monday, October 3, 2011 11:05 AM