Command Reference Guide DHCP Pool Command Set
61200510L1-35E Copyright © 2005 ADTRAN 1337

lease <days> <hours> <minutes>

Use the lease command to specify the duration of the lease for an IP address assigned to a Dynamic Host
Configuration Protocol (DHCP) client. Use the no form of this command to return to the default lease
value.
Syntax Description
<days> Specifies the dura tion of the IP address lease in days.
<hours> Optional. Spec ifies the number of hours in a le ase. You may only enter a value in
the hours field if the days field is specified.
<minutes> Optional. Specifies the number of minutes in a lease. You may only enter a value
in the minutes field if the days an d ho u rs fie lds ar e sp ecified.
Default Values
By default, an IP address lease is one day.
Applicable Platforms
This command applies to the NetVanta 300, 1000, 1000R, 2000, 3000, 4000, and 5000 and
Total Access 900 Series units.
Command History
Release 2.1 Command was introduced.
Usage Examples
The following example specifies a lease of 2 days:
(config)#ip dhcp-server pool MyPool
(config-dhcp)#lease 2
The following example specifies a lease of 1 hour:
(config)#ip dhcp-server pool MyPool
(config-dhcp)#lease 0 1
The following example specifies a lease of 30 minutes:
(config)#ip dhcp-server pool MyPool
(config-dhcp)#lease 0 0 30