clear dhcp pool network
16-14 DHCP Server Configuration
Examples
ThisexampleconfigurestheIPsubnet172.20.2 8.0withaprefixlengthof24for theautomatic
DHCPpoolnamed“auto1.”Alternatively,themaskcouldhavebeenspecifiedas255.255.255.0.
D2(rw)->set dhcp pool auto1 network 172.20.28.0 24
Thisexamplelimitsthescope of255addressescreatedfortheClassCnetwork172,20.28.0bythe
previousexample,byexcludingaddresses172.20.28.80–100.
D2(rw)->set dhcp exclude 172.20.28.80 172.20.28.100
clear dhcp pool network
UsethiscommandtoremovethenetworknumberandmaskofaDHCPserverpoolofaddresses.
Syntax
clear dhcp pool poolname network
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
Thisexampledeletesthenetworkandmaskfromtheaddresspoolnamed“auto1.”
D2(rw)->clear dhcp pool auto1 network
set dhcp pool hardware-address
UsethiscommandtoconfiguretheMACaddressoftheDHCPclientandcreateanaddresspool
formanualbinding.Youcanuseeitherthiscommandorthesetdhcppoolclient‐identifier
commandtocreateamanualbindingpool,butusingbothisnotrecommended.
Syntax
set dhcp pool poolname hardware-address hw-addr [type]
Parameters
poolname Specifiesthenameoftheaddresspool.Poolnamesmaybeupto31
charactersinlength.
poolname Specifiesthenameoftheaddresspool.Poolnamesmaybeupto31
charactersinlength.
hw‐addr SpecifiestheMACaddressoftheclient’shardwareplatform.Thisvalue
canbeenteredusingdottedhexadecimalnotationorcolons.
type (Optional)Specifiestheprotocolofthehardwareplatform.Validvalues
are1
forEthernetor6forIEEE802.Defaultvalueis1,Ethernet.