DGS-6604
ip dhcp pool
CLI Reference Guide
252
ip dhcp pool
Use this command to configure a DHCP address pool on a DHCP Server and
enter the DHCP pool configuration mode. Use the no form of this command to
remove the address pool.
ip dhcp pool
NAME
no ip dhcp pool
NAME
Default
Not configured
Command Mode
Global configuration
Usage Guideline
This command changes the configuration mode to DHCP pool configuration
mode, identified by the (config-dhcp)# prompt. In this mode, the administrator
can configure pool parameters, for example, the IP subnet number and default
router list.
Note that the DHCP pool name can play an important role if the DHCP host
requests meet the IP address offering criteria of more than one DHCP pool. The
pool name with the shortest name and lowest alphabet is the only pool allowed to
offer the correct IP address to the host.
Example
The following example configures the address pool named "pool1".
Syntax Description
NAME
The address pool name can either be a symbolic string or an integer. The
maximum length is up to 64 characters.
switch# configure terminal
switch(config)# ip dhcp pool pool1