Set dhcp pool network, Clear dhcp pool network – Enterasys Networks Enterasys D2 D2G124-12P User Manual
Page 407
set dhcp pool network
D-Series CLI Reference 14-13
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
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
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.
number
Specifies an IP subnet for the address pool.
mask
Specifies the subnet mask in dotted quad notation.
prefix‐length
Specifies the subnet mask as an integer.
poolname
Specifies the name of the address pool. Pool names may be up to 31
characters in length.