Which command can you enter in global configuration mode to create a DHCP address pool?
Click on the arrows to vote for the correct answerA. B. C. D.
The correct answer is A.
ip dhcp pool DHCP_pool.
Dynamic Host Configuration Protocol (DHCP) is a protocol used to dynamically assign IP addresses and other network configuration parameters to devices on a network. To create a DHCP address pool, you can use the
ip dhcp pool command in global configuration mode.
ip dhcp pool command followed by a pool name (in this case,
DHCP_pool) is used to create a new DHCP address pool. For example:
Router(config)# ip dhcp pool DHCP_pool Router(dhcp-config)# network 192.168.1.0 255.255.255.0 Router(dhcp-config)# default-router 192.168.1.1 Router(dhcp-config)# dns-server 22.214.171.124 Router(dhcp-config)# lease 7 Router(dhcp-config)# end
This creates a new DHCP address pool called
DHCP_pool and configures it with the network address and subnet mask, default gateway (router), DNS server, and lease time.
The other answer options are:
ip dhcp conflict logging - This command enables logging of DHCP address conflicts.
service dhcp - This command enables the DHCP server feature on the router.
ip dhcp excluded-address - This command is used to exclude certain IP addresses from being assigned by the DHCP server.