set dhcp exclude
Use this command to configure the IP addresses that the DHCP server should not assign to DHCP
clients. Multiple address ranges can be configured but the ranges cannot overlap. Up to 128 non‐
overlapping address ranges can be excluded.
Syntax
set dhcp exclude low-ipaddr [high-ipaddr]
Parameters
low‐ipaddr
high‐ipaddr
Defaults
None.
Mode
Switch command, read‐write.
Example
This example first configures the address pool named "auto1" with 255 addresses for the Class C
network 172,20.28.0, with the set dhcp pool network command. Then, the example limits the
scope of the addresses that can be assigned by a DHCP server by excluding addresses 172.20.28.80
– 100, with the set dhcp exclude command.
C2(rw)->set dhcp pool auto1 network 172.20.28.0 24
C2(rw)->set dhcp exclude 172.20.28.80 172.20.28.100
clear dhcp exclude
Use this command to clear the configured IP addresses that the DHCP server should not assign to
DHCP clients.
Syntax
clear dhcp exclude low-ipaddr [high-ipaddr]
Parameters
low‐ipaddr
high‐ipaddr
Defaults
None.
Mode
Switch command, read‐write.
Specifies the first IP address in the address range to be excluded from
assignment.
(Optional) Specifies the last IP address in the address range to be
excluded.
Specifies the first IP address in the address range to be cleared.
(Optional) Specifies the last IP address in the address range to be cleared.
set dhcp exclude
SecureStack C2 Configuration Guide 14-7