Skip to Content

CCNA 200-301: Which Command Sets a Cisco Router Interface to Obtain Its IP Address via DHCP?

Learn the correct Cisco IOS command to configure a router interface as a DHCP client for the CCNA 200-301 exam. Understand how the ip address dhcp command enables dynamic IP address assignment from a DHCP server.

Table of Contents

Question

A network engineer wants to set a router to use DHCP to obtain its IP address. Which command should they use?

A. ip dhcp enable
B. service dhcp
C. dhcp pool dynamic
D. ip dhcp client
E. ip address dhcp

Answer

E. ip address dhcp

Explanation

The ip address dhcp command allows a router interface to dynamically obtain an IP address from a DHCP server.

Applying the ip address dhcp command in interface configuration mode enables the router interface to act as a DHCP client. This causes the interface to send DHCP Discover messages, allowing it to automatically receive an IP address, subnet mask, default gateway, and other configuration parameters from a DHCP server. This method is commonly used on interfaces that connect to networks where IP addresses are assigned dynamically, such as those provided by ISPs.

Cisco Certified Network Associate CCNA 200-301 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Cisco Certified Network Associate CCNA 200-301 exam and earn Cisco Certified Network Associate CCNA 200-301 certification.