clear dhcp pool
22-14 DHCP Server Configuration
clear dhcp pool
Use this command to delete a DHCP server pool of addresses.
Syntax
clear dhcp pool poolname
Parameters
Defaults
None.
Mode
Switch command, read-write.
Example
This example deletes the address pool named “auto1.”
C3(rw)->clear dhcp pool auto1
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 set dhcp exclude command on page 22-7.
poolname Specifies the name of the address pool. Pool names may be up to 31
characters in length.
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.