Specifications

lease DHCP Overview
Enterasys Matrix N Standalone (NSA) Series Configuration Guide 20-15
Usage
Theseconfigurationparametersandothercontrolinformationarecarriedintaggeddataitems
thatarestoredintheoptionsfieldoftheDHCPmessagetonetworkhosts.Alloptionsspecifiedin
Table 201onpage 202maybeconfiguredusingthiscommand.Severalcommonlyusedoptions
mayalsobeconfiguredusing
dedicatedcommands:domainnameonpage 209,dnsserver
onpage 2010,netbiosnameserveronpage 2011,netbiosnodetypeonpage 2011,and
defaultrouteronpage 2012.
Theparameterformatofasitespecific optionmustbeeitherasciiorhex.
The“no”
formofthiscommanddeletesoneorallDHCPoptions.
Examples
ThisexampleshowshowtoconfigureDHCPoption19,whichspecifieswhethertheclientshould
configureitsIPlayerforpacketforwarding.Inthiscase,IPforwardingisenabledwiththe01
value:
Matrix>Router(config)#ip dhcp pool localpool
Matrix>Router(config-dhcp-pool)#option 19 hex 01
ThisexampleshowshowtoconfigureDHCPoption72,whichassignsoneormoreWebservers
forDHCPclients.Inthiscase,twoWebserveraddressesareconfigured:
Matrix>Router(config)#ip dhcp pool localpool
Matrix>Router(config-dhcp-pool)#option 72 ip 168.24.3.252 168.24.3.253
lease
UsethiscommandtospecifythedurationoftheleaseforanIPaddressassignedbyaDHCP
servertoaclient.
Syntax
lease {days [hours] [minutes] | infinite}
no lease
Parameters
Defaults
Ifhoursorminutesarenotspecified,novalueswillbeconfigured.
Mode
Routercommand,DHCPPool,ClientClassandHardwareAddresscommandmodes.
days Specifiesthenumberofdaysanaddressleasewillremainvalid.
hours (Optional)Whenadaysvaluehasbeenassigned,specifiesthenumber
ofhouranaddressleasewillremainvalid.
minutes (Optional)Whenadaysvaluehasbeenassigned,specifiesthe
number
ofminutesanaddressleasewillremainvalid.
infinite Specifiesthatthedurationoftheleasewillbeunlimited.