Switch User Manual

set dhcp exclude
SecureStack C3 Configuration Guide 16-7
set dhcp exclude
UsethiscommandtoconfiguretheIPaddressesthattheDHCPservershouldnotassigntoDHCP
clients.Multipl eaddressrangescanbeconfiguredbuttherangescannotoverlap.Upto128non
overlappingaddressrangescanbeexcluded.
Syntax
set dhcp exclude low-ipaddr [high-ipaddr]
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Example
Thisexamplefirstconfigurestheaddresspoolnamed“auto1”with255addressesfortheClassC
network172,20.28.0,withthesetdhcppoolnetworkcommand.Then,theexamplelimitsthe
scopeoftheaddressesthatcanbeassignedbyaDHCPserverbyexcludingaddresses172.20.28.80
100,withtheset
dhcpexcludecommand.
C3(rw)->set dhcp pool auto1 network 172.20.28.0 24
C3(rw)->set dhcp exclude 172.20.28.80 172.20.28.100
clear dhcp exclude
UsethiscommandtocleartheconfiguredIPaddressesthattheDHCPservershouldnotassignto
DHCPclients.
Syntax
clear dhcp exclude low-ipaddr [high-ipaddr]
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
lowipaddr SpecifiesthefirstIPaddressintheaddressrangetobeexcludedfrom
assignment.
highipaddr (Optional)SpecifiesthelastIPaddressintheaddressrangetobe
excluded.
lowipaddr SpecifiesthefirstIPaddressintheaddressrangetobecleared.
highipaddr (Optional)SpecifiesthelastIPaddressintheaddressrangetobecleared.