![Cisco Small Business 300 1.1 Series Administration Manual Download Page 480](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294480.webp)
IP Addressing Commands
78-20269-01 Command Line Interface Reference Guide
481
35
35.3
renew dhcp
Use the renew dhcp Privileged EXEC mode command to renew an IP address that
was acquired from a DHCP server for a specific interface.
Syntax
renew dhcp
{interface-id} [
force-autoconfig
]
Parameters
•
interface-id—This parameter is only available when the device is in Layer 3
(routing mode). Specifies an interface ID. The interface ID can be one of the
following types: Ethernet port, Port-channel or VLAN.
•
force-autoconfig - If the DHCP server holds a DHCP option 67 record for the
assigned IP address, the record overwrites the existing device
configuration.
Command Mode
Privileged EXEC mode
User Guidelines
Note that this command does not enable DHCP on an interface. If DHCP is not
enabled on the requested interface, the command returns an error message.
If DHCP is enabled on the interface and an IP address was already acquired, the
command tries to renew that IP address.
If DHCP is enabled on the interface and an IP address has not yet been acquired,
the command initiates a DHCP request.
Example
The following example renews an IP address that was acquired from a DHCP
server for VLAN 19. This assumes that the device is in Layer 3.
Console#
renew dhcp vlan
19