Cisco CCNA (200-301)IP ServicesEasy
A network administrator is setting up a new network segment and needs to ensure that all hosts automatically receive IP addresses, subnet masks, and default gateway information. The administrator decides to configure a DHCP server on a Cisco router. Which global configuration command is used to enable the DHCP service on the router?
- Aservice dhcp
- Bip dhcp enable
- Cdhcp service enable
- Dip dhcp server
Show answer & explanationAnswer & explanation
Correct answer: A. service dhcp
The 'service dhcp' command is the global configuration command used to enable the DHCP server functionality on a Cisco IOS router. Without this command, the router will not act as a DHCP server, even if DHCP pools are configured.
Why the other options are wrong
- B. This is not a valid global configuration command for enabling DHCP service.
- C. This is not a valid global configuration command for enabling DHCP service.
- D. This is not a valid global configuration command for enabling DHCP service.
Enable Cisco DHCP Server
To enable the DHCP server functionality on a Cisco IOS router, the global configuration command 'service dhcp' must be used.
- Required before DHCP pools can be active.
- Enables the DHCP daemon on the router.
- Part of the initial setup for DHCP server roles.
- Without it, DHCP requests will not be processed by the router.
Memory trick: Service DHCP, then you can serve IPs!