IP Addressing Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 506
24
Example
The following example acquires an IP address for VLAN 100 from DHCP.
switchxxxxxx(config)#
interface vlan100
switchxxxxxx(config-if)#
ip address dhcp
24.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
—Specifies an interface.
• 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
Use the renew dhcp command to renew a DHCP address on an interface.
This command does not enable DHCP client on an interface and if DHCP client is
not enabled on the interface, the command returns an error message.
Example
The following example renews an IP address on VLAN 19 that was acquired from
a DHCP server:
switchxxxxxx#
renew dhcp vlan
19