To immediately release the DHCP lease obtained for an IP address from a DHCP server and assigned to the specified interface, use the command release dhcp in Privileged EXEC Mode. The current lease assigned to that interface is terminated manually. The lease is terminated to reset the DHCP client which faces connectivity problem. The DHCP lease provided by the DHCP server represents the time interval till which the DHCP client can use the assigned IP address.
Parameter | Type | Description |
---|---|---|
cpu0
|
Enter to release the DHCP lease for the management interface. | |
vlan
|
Enter to configure release of the DHCP lease for a specified VLAN. | |
<vlan-id (1-4094)>
|
Integer | Enter a VLAN ID for the DHCP lease to be released. 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 released. The interface can be:
|
|
<interface-id>
|
Enter to configure release of the DHCP lease for the specified interface identifier. 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 |
Privileged EXEC Mode
iS5Comm# release dhcp vlan 1