Set dhcp pool lease, Clear dhcp pool lease, Set dhcp pool lease -21 clear dhcp pool lease -21 – Enterasys Networks D-Series User Manual
Page 453
set dhcp pool lease
Enterasys D-Series CLI Reference
16-21
set dhcp pool lease
Use this command to specify the duration of the lease for an IP address assigned by the DHCP
server from the address pool being configured.
Syntax
set dhcp pool poolname lease {days [hours [minutes]] | infinite}
Parameters
Defaults
If no lease time is specified, a lease duration of 1 day is configured.
Mode
Switch command, read‐write.
Example
This example configures a lease duration of 12 hours for the address pool being configured. Note
that to configure a lease time less than one day, enter 0 for days, then the number of hours and
minutes.
D2(rw)->set dhcp pool auto1 lease 0 12
clear dhcp pool lease
Use this command to restore the default lease time value of one day for the address pool being
configured.
Syntax
clear dhcp pool poolname lease
Parameters
Defaults
Clears the lease time for this address pool to the default value of one day.
poolname
Specifies the name of the address pool. Pool names may be up to 31
characters in length.
days
Specifies the number of days an address lease will remain valid. Value can
range from 0 to 59.
hours
(Optional) When a days value has been assigned, specifies the number of
hours an address lease will remain valid. Value can range from 0 to 1439.
minutes
(Optional) When a days value and an hours value have been assigned,
specifies the number of minute an address lease will remain valid. Value
can range from 0 to 86399.
infinite
Specifies that the duration of the lease will be unlimited.
poolname
Specifies the name of the address pool. Pool names may be up to 31
characters in length.