DHCP Commands
XSR CLI Reference Guide 15-97
exclude
Thissubcommandofip local poolbarstheuseofarangeofIPaddressesfromanearlier
createdIPpool.
Syntax
exclude {ip address}{number}
Syntax of the “no” Form
ThenoformexemptsthespecifiedIPaddressfrombeingexcludedfromthepool:
exclude {ip address}{number}
Mode
LocalIPPoolconfiguration:XSR(ip-local-pool)#
Examples
ThefollowingexampleexcludesthetenIPaddressesbetween192.168.57.100and192.168.57.110
fromlocalpoolHQ:
XSR(config)#ip local pool HQ 192.168.57.0 255.255.255.0
XSR(ip-local-pool)#exclude 192.168.57.100 10
ThefollowingexamplenegatestheexclusionofIPaddresses192.168.57.105and192.168.57.106
fromtheearlierexcludedrangeofIPaddressesinlocalpoolHQ:
XSR(config)#ip local pool HQ
XSR(ip-local-pool)#no exclude 192.168.57.105 2
exit
Thissubcommandofip local pool quitsIPLocalPoolconfigurationmode.
Syntax
exit
Mode
IPLocalPoolconfiguration:XSR(ip-local-pool)#
ip address Starting address to be excluded from pool.
number Number of addresses to exclude, ranging from 1 to 65535.