DHCP Pool Configuration

Build DHCP Pool

Prev Question Next Question


Which command is used to build DHCP pool?



Click on the arrows to vote for the correct answer

A. B. C. D.


The correct command to build a DHCP pool on a Cisco router or switch is:

ip dhcp pool <pool-name>

The options provided in the question are:

A. ip dhcp pool DHCP pool - This command is incorrect as it includes an extra word "pool". The correct syntax is ip dhcp pool <pool-name>.

B. ip dhcp conflict - This command is not used for building a DHCP pool. It is used to view the conflict statistics for DHCP addresses.

C. ip dhcp-server pool DHCP - This command is incorrect as it uses the keyword "dhcp-server", which is not a valid option for creating a DHCP pool. The correct keyword is "dhcp".

D. ip dhcp-client pool DHCP - This command is not used for building a DHCP pool. It is used to configure the DHCP client on a Cisco device.

To configure a DHCP pool on a Cisco router or switch, follow these steps:

  1. Enter global configuration mode using the configure terminal command.
  2. Define the DHCP pool by using the ip dhcp pool <pool-name> command, where <pool-name> is the name of the pool you want to create.
  3. Configure the DHCP options for the pool, such as the network address, subnet mask, default gateway, DNS server, and lease time.
  4. Exit configuration mode by using the end or exit command.
  5. Save the configuration to NVRAM by using the copy running-config startup-config command.

Here is an example of how to configure a DHCP pool named "my-pool" with a network address of

Router(config)# ip dhcp pool my-pool Router(dhcp-config)# network Router(dhcp-config)# default-router Router(dhcp-config)# dns-server Router(dhcp-config)# lease 7 Router(dhcp-config)# exit Router(config)#

This configuration will create a DHCP pool with a range of IP addresses from to, a default gateway of, DNS servers of and, and a lease time of 7 days.