IP Address Commands
renew dhcp
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 211
15
renew dhcp
The renew dhcp Privileged EXEC mode command renews an IP address acquired
from a DHCP server.
Syntax
renew dhcp [fo rce-auto config ]
Parameters
force-a utocon fig — If the DHCP server holds a DHCP option 67 record for
the assigned IP address, the file would overwrite the existing device
configuration
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
Please note that this command does not enable DHCP. If DHCP is not enabled, the
command returns an error message.
If an IP address is already acquired, the command tries to renew that IP address.
If an IP address isn’t acquired yet, the command initiates a DHCP request.
Example
The following example renews an IP address acquired from a DHCP server for
specific interface.
Console# renew dhcp