Which command can you enter in global configuration mode to create a DHCP address pool?
Click on the arrows to vote for the correct answer
A. B. C. D.A
The correct answer is A. ip dhcp pool DHCP_pool
.
Explanation:
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.
The 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:
scssRouter(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 8.8.8.8 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:
B. ip dhcp conflict logging
- This command enables logging of DHCP address conflicts.
C. service dhcp
- This command enables the DHCP server feature on the router.
D. ip dhcp excluded-address
- This command is used to exclude certain IP addresses from being assigned by the DHCP server.