Enterasys Networks XSR CLI Router User Manual


 
DHCP Commands
15-110 Configuring DHCP
ThefollowingexampleconfiguresDHCPoption36,whichspecifiesEthernetencapsulation
Version2(RFC894)orIEEE802.3forDHCPclients.Version2encapsulationissetinthisexample:
XSR(config-dhcp-pool)#option 36 hex 00
ThefollowingexampleconfiguresDHCPoption21,whichsetsapolicyfilterfornonlocalsource
routing.ThefiltersconsistofalistofIPaddressesandmasksthatspecifydestination/maskpairs
withwhichtofilterinboundsourceroutes.Anysourcerouteddatagramwhosenexthopaddress
doesnotmatchone
ofthefiltersisdiscardedbytheclient.
XSR(config-dhcp-pool)#option 21 ip 90.1.1.78 255.255.0.0 134.141.90.1
255.255.255.0
ThefollowingexampleconfiguresDHCPoption22,whichspecifiesthemaximumsizedatagram
aclientwillreassemble.Thevalueis1052bytes:
XSR(config-dhcp-pool)#option 22 hex 41
ThefollowingexamplesetsDHCPoption28,specifyingthebroadcastaddressinuseonthe
clientʹssubnet.Thevalueis:255.255.2 55.255.
XSR(config-dhcp-pool)#option 28 ip 255.255.255.255
ThefollowingexampleconfiguresDHCPoption35,whichspecifiesthetimeoutinsecondsfor
ARPcacheentries.Thevalueis604,800(1week):
XSR(config-dhcp-pool)#option 35 hex 93A8
ThefollowingexamplesetsDHCPoption14,specifyingthepathnamewhereaDHCPclient’score
imagewillbeplacediftheclientcrashes:
XSR(config-dhcp-pool)#option 14 ascii c:/dump/path
ThefollowingexampleconfiguresDHCPoption31,whichspecifiesthattheDHCPclientshould
notperformsubnetmaskdiscovery:
XSR(config-dhcp-pool)#option 29 hex 00
ThefollowingexampleconfiguresDHCPoption19,whichspecifiesthattheDHCPclientshould
configureitsIPlayerforpacketforwarding:
XSR(config-dhcp-pool)#option 19 hex 01
ThefollowingexampleconfiguresDHCPoption31,whichspecifiesthattheDHCPclientshould
performRouterDiscovery:
XSR(config-dhcp-pool)#option 31 hex 01
ThefollowingexampleconfiguresDHCPoption47,whichspecifiesaNetBIOSoverTCP/IPscope
parameterforaDHCPclient:
XSR(config-dhcp-pool)#option 47 ascii scope
ThefollowingexampleconfiguresDHCPoption40,whichspecifiestheDHCPclient’sNIS
domain:
XSR(config-dhcp-pool)#option 40 ascii NISserver
ThefollowingexampleconfiguresDHCPoption18,whichspecifiesthepathnameofafile
retrievablethroughTFTP:
XSR(config-dhcp-pool)#option 18 ascii /extension/path
ThefollowingexampleconfiguresDHCPoption18,whichspecifiesalistofprioritizedstatic
routes(indescendingorder)theDHCPclientshouldinstallinitsroutingcache:
XSR(config-dhcp-pool)#option 33 ip 90.1.1.90 123.124.23.26 90.1.1.90 123.24.56.78