Command Reference DHCP Commands
Use this command to define the lease time of the IP address that the DHCP server assigns to the
client in the DHCP address pool configuration mode. Use the no form of this command to restore the
default setting. A limited lease time ranges from 1 minute to 23 hours and 59 minutes.
lease { days [ hours ] [ minutes ] | infinite }
(Optional) Lease time in hours. It is necessary to define the days
before defining the hours.
(Optional) Lease time in minutes. It is necessary to define the days
and hours before defining the minutes.
The lease time for a static address pool is infinite. The lease time for other address pools is 1 day.
DHCP address pool configuration mode.
When the lease is getting near to expire, the DHCP client will send the request of renewal of lease. In
general, the DHCP server will allow the renewal of lease of the original IP address.
The following example sets the DHCP lease to 1 hour.
lease 0 1
The following example sets the DHCP lease to 1 minute.
lease 0 0 1
Defines the name of the DHCP address pool and enters the DHCP
address pool configuration mode.