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,readwrite.
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.Value can
rangefrom0to59.
hours (Optional)Whenadaysvaluehasbeenassigned,specifiesthenumberof
hoursanaddressleasewillremainvalid.Valu ecanrangefrom0to1439.
minutes (Optional)Whenadaysvalueandanhoursvaluehavebeenassigned,
specifiesthenumberofminuteanaddressleasewillremainvalid.Val ue
canrangefrom0to86399.
infinite Specifiesthatthedurationoftheleasewillbeunlimited.
poolname Specifiesthenameoftheaddresspool.Poolnamesmaybeupto31
charactersinlength.