300-410 Infrastructure Services Practice Question
A network engineer is configuring a Cisco IOS XE router to act as a Dynamic Host Configuration Protocol (DHCP) client on its WAN interface. The service provider requires the router to send a specific client identifier in its DHCP requests. Which command accomplishes this?
⚠ Common exam trap
Many exam-takers confuse the DHCP client identifier with the hostname or class-id options; each serves a distinct purpose in DHCP message construction.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
ip dhcp client client-id <string>
The ip dhcp client client-id command allows the router to send a custom client identifier in its DHCP requests, which the service provider can use for lease assignment. The other commands set different DHCP options, such as hostname, class identifier, or requested options, and do not fulfill the requirement for a specific client identifier.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ip dhcp client class-id <string>
Why it's wrong here
This command sets the class identifier option, which is used to request a specific class of service or configuration from the DHCP server. It is not the same as the client identifier, which uniquely identifies the client lease. While class-id can influence server behavior, it does not satisfy the requirement to send a specific client identifier.
- ✗
ip dhcp client request <option>
Why it's wrong here
This command allows the router to request specific DHCP options from the server, such as the domain name or DNS server. It does not set the client identifier that the router sends. The scenario requires the router to include a specific client identifier in its requests, which is done with the client-id command.
- ✓
ip dhcp client client-id <string>
Why this is correct
This command, configured on the interface, specifies a custom client identifier that the router includes in its DHCP requests. The service provider can use this identifier to assign a specific lease or apply policies. It must be applied to the interface acting as the DHCP client, and the identifier can be a string or hexadecimal value.
- ✗
ip dhcp client hostname <name>
Why it's wrong here
This command sets the hostname option that the router sends to the DHCP server, but it does not change the client identifier. The client identifier is a separate option used for lease identification and is not affected by the hostname setting. The service provider's requirement for a specific client identifier would not be met by this command alone.
Visual reference
Go deeper
Related to this question
About these practice questions
Courseiva writes every 300-410 question from scratch — 1,401 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Cisco exam blueprint
This 300-410 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 300-410 exam.