renew dhcp

To immediately renew the DHCP lease for the interface specified, use the command renew dhcp in Privileged EXEC Mode. The current lease acquired by the specified interface is manually renewed or else, when a new DHCP lease is acquired for an interface with a terminated lease. The DHCP lease is automatically renewed, once the lease expires.

renew dhcp

renew dhcp
{ {cpu0 } { | vlan } { <vlan-id (1-4094)> } { | <interface-type> } { <interface-id>} } { }

Parameters

Parameter Type Description
cpu0   Enter to renew the DHCP lease for the management interface.
vlan   Enter to configure renewal of DHCP lease for a specified VLAN.
<vlan-id (1-4094)> Integer Enter a VLAN ID for the DHCP lease to be renewed. This is a unique value that represents the specific VLAN created. This value ranges from 1 to 4094.
<interface-type>   Enter to specify the type of interface for the DHCP lease to be renewed. The interface can be:
  • gigabitethernet – A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
  • extreme-ethernet – A version of Ethernet that supports data transfer up to 10 Gigabits per second. This Ethernet supports only full duplex links.
<interface-id>   Enter an interface ID to have configured renewal of the DHCP lease. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example: 0/1 represents that the slot number is 0 and port number is 1.

Mode

Privileged EXEC Mode

Prerequisites

This command executes successfully only if the VLAN interfaces and router ports are in BOUND state (that is, IP address is dynamically acquired from DHCP server and an active lease is bound to the interface). The port should have been configured as router port for dynamically acquiring an IP address from DHCP server.

Examples

iS5Comm# renew dhcp vlan 1