set dhcp pool lease
Enterasys D-Series CLI Reference 16-21
set dhcp pool lease
UsethiscommandtospecifythedurationoftheleaseforanIPaddressassignedbytheDHCP
serverfromtheaddresspoolbeingconfigured.
Syntax
set dhcp pool poolname lease {days [hours [minutes]] | infinite}
Parameters
Defaults
Ifnoleasetimeisspecified,aleasedurationof1dayisconfigured.
Mode
Switchcommand,read‐write.
Example
Thisexampleconfiguresaleasedurationof12hoursfortheaddresspoolbeingconfigured.Note
thattoconfigurealeasetimelessthanoneday,enter0fordays,thenthenumberofhoursand
minutes.
D2(rw)->set dhcp pool auto1 lease 0 12
clear dhcp pool lease
Usethiscommandtorestorethedefaultleasetimevalueofonedayfortheaddresspoolbeing
configured.
Syntax
clear dhcp pool poolname lease
Parameters
Defaults
Clearstheleasetimeforthisaddresspooltothedefaultvalueofoneday.
poolname Specifiesthenameoftheaddresspool.Poolnamesmaybeupto31
charactersinlength.
days Specifiesthenumberofdaysanaddressleasewillremainvalid.Valuecan
rangefrom0to59.
hours (Optional)
Whenadaysvaluehasbeenassigned,specifiesthenumberof
hoursanaddressleasewillremainvalid.Valuecanrangefrom0to1439.
minutes (Optional)Whenadaysvalueandanhoursvaluehavebeenassigned,
specifiesthenumberofminuteanaddressleasewillremainvalid.Value
can
rangefrom0to86399.
infinite Specif iesthatthedurationoftheleasewillbeunlimited.
poolname Specifiesthenameoftheaddresspool.Poolnamesmaybeupto31
charactersinlength.