set dhcp pool network
Use this command to configure the subnet number and mask for an automatic DHCP address
pool.
Syntax
set dhcp pool poolname network number {mask | prefix-length}
Parameters
poolname
number
mask
prefix‐length
Defaults
None.
Mode
Switch command, read‐write.
Usage
Use this command to configure a set of IP addresses to be assigned by the DHCP server using the
specified address pool. In order to limit the scope of the addresses configured with this command,
use the set dhcp exclude command on page 14‐6.
Examples
This example configures the IP subnet 172.20.28.0 with a prefix length of 24 for the automatic
DHCP pool named "auto1." Alternatively, the mask could have been specified as 255.255.255.0.
D2(rw)->set dhcp pool auto1 network 172.20.28.0 24
This example limits the scope of 255 addresses created for the Class C network 172,20.28.0 by the
previous example, by excluding addresses 172.20.28.80 – 100.
D2(rw)->set dhcp exclude 172.20.28.80 172.20.28.100
clear dhcp pool network
Use this command to remove the network number and mask of a DHCP server pool of addresses.
Syntax
clear dhcp pool poolname network
Parameters
poolname
Specifies the name of the address pool. Pool names may be up to 31
characters in length.
Specifies an IP subnet for the address pool.
Specifies the subnet mask in dotted quad notation.
Specifies the subnet mask as an integer.
Specifies the name of the address pool. Pool names may be up to 31
characters in length.
set dhcp pool network
D-Series CLI Reference 14-13