Administrator Guide

Switch Management Commands 1921
Syntax
renew dhcp {interface-id | out-of-band}
interface-id—Any valid IP 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.
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 message 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
The renew dhcp option is applicable only for IP interfaces and not for the
Out-of-Band port. Use the ip address out-of-band none command on the
Out-of-Band interface to clear a DHCP-acquired address.
Examples
The first example is for IP interfaces.
console#renew dhcp vlan 2
The second example is for an out-of-band port.
console#renew dhcp out-of-band