Set Dhcp Pool Lease; Clear Dhcp Pool Lease - Enterasys D-Series Cli Reference Manual

Enterasys networks ethernet switch owner's manual
Table of Contents

Advertisement

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
poolname
days
hours
minutes
infinite
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
poolname
Defaults
Clears the lease time for this address pool to the default value of one day.
Specifies the name of the address pool. Pool names may be up to 31 
characters in length.
Specifies the number of days an address lease will remain valid. Value can 
range from 0 to 59.
(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.
(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.
Specifies that the duration of the lease will be unlimited.
Specifies the name of the address pool. Pool names may be up to 31 
characters in length.
set dhcp pool lease
Enterasys D-Series CLI Reference 16-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents