set dhcp exclude
16-6 DHCP Server Configuration
Defaults
None.
Mode
Switchcommand,read‐write.
Examples
ThisexampledisablesDHCPconflictlogging.
D2(rw)->clear dhcp conflict logging
ThisexampleclearstheconflictinformationfortheIPaddress192.0.0.2.
D2(rw)->clear dhcp conflict 192.0.0.2
set dhcp exclude
UsethiscommandtoconfiguretheIPaddressesthattheDHCPservershouldnotassigntoDHCP
clients.Multipl eaddressrangescanbeconfiguredbuttherangescannotoverlap.Upto128non‐
overlappingaddressrangescanbeexcluded.
Syntax
set dhcp exclude low-ipaddr [high-ipaddr]
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
Thisexamplefirstconfigurestheaddresspoolnamed“auto1”with255addressesfortheClassC
network172,20.28.0,withthesetdhcppoolnetworkcommand.Then,theexamplelimitsthe
scopeoftheaddressesthatcanbeassignedbyaDHCPserverbyexcludingaddresses172.20.28.80
–100,withtheset
dhcpexcludecommand.
D2(rw)->set dhcp pool auto1 network 172.20.28.0 24
D2(rw)->set dhcp exclude 172.20.28.80 172.20.28.100
low‐ipaddr SpecifiesthefirstIPaddressintheaddressrangetobeexcludedfrom
assignment.
high‐ipaddr (Optional)SpecifiesthelastIPaddressintheaddressrangetobe
excluded.