Users Guide

Table Of Contents
Switch Management Commands 1972
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
show dhcp lease
Use the show dhcp lease command to display IPv4 addresses leased from a
DHCP server.
Syntax
show dhcp lease [interface {out-of-band | vlan vlan-id}]
out-of-band—The out-of-band interface.
vlan-id—The VLAN identifier.