set dhcp pool network
SecureStack B3 Configuration Guide 15-13
set dhcp pool network
UsethiscommandtoconfigurethesubnetnumberandmaskforanautomaticDHCPaddress
pool.
Syntax
set dhcp pool poolname network number {mask | prefix-length}
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
UsethiscommandtoconfigureasetofIPaddressestobeassignedbytheDHCPserverusingthe
specifiedaddresspool.Inordertolimitthescopeoftheaddressesconfiguredwiththiscommand,
usethesetdhcpexcludecommandonpage15‐6.
Examples
ThisexampleconfigurestheIPsubnet172.20.28.0withaprefixlengthof24for theautomatic
DHCPpoolnamed“auto1.”Alternatively,themaskcouldhavebeenspecifiedas255.255.255.0.
B3(rw)->set dhcp pool auto1 network 172.20.28.0 24
Thisexamplelimitsthescope of255addressescreatedfortheClassCnetwork172,20.28.0bythe
previousexample,byexcludingaddresses172.20.28.80–100.
B3(rw)->set dhcp exclude 172.20.28.80 172.20.28.100
clear dhcp pool network
UsethiscommandtoremovethenetworknumberandmaskofaDHCPserverpoolofaddresses.
Syntax
clear dhcp pool poolname network
Parameters
poolname Specif iesthenameoftheaddresspool.Poolnamesmaybeupto31
charactersinlength.
number SpecifiesanIPsubnetfortheaddresspool.
mask Specifies thesubnetmaskindottedquadnotation.
prefix‐length Specifiesthesubnetmaskasaninteger.
poolname Specif iesthenameoftheaddresspool.Poolnamesmaybeupto31
charactersinlength.