A network engineer is configuring a Cisco IOS router to act as a DHCP relay agent for a subnet that has no local DHCP server. The DHCP server is at 10.10.10.5, and the router interface facing the clients is GigabitEthernet0/1 with IP address 10.20.20.1. Which command must be applied to the interface so that client DHCP broadcasts are forwarded to the server?
The ip helper-address command is configured on the client-facing interface and instructs the router to forward UDP broadcasts, including DHCP DISCOVER and REQUEST, to the specified server as unicast packets. It also inserts the giaddr field with the interface IP so the server can select the correct pool. This directly satisfies the scenario.
Why this answer
DHCP relay is enabled by placing ip helper-address on the interface receiving client broadcasts. The router then converts those broadcasts into unicast packets toward the specified server and populates the giaddr field so the server can identify the correct subnet. The other commands either do not exist, do not specify a server, or configure the router as a server rather than a relay, so they do not meet the requirement.
Exam trap
The trap here is confusing DHCP server pool configuration with DHCP relay configuration, which are separate features applied in different configuration modes.