exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 525 discussion

Actual exam question from Cisco's 200-301
Question #: 525
Topic #: 1
[All 200-301 Questions]

Which command enables a router to become a DHCP client?

  • A. ip address dhcp
  • B. ip dhcp client
  • C. ip helper-address
  • D. ip dhcp pool
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
If we want to get an IP address from the DHCP server on a Cisco device, we can use the command ג€ip address dhcpג€.
Note: The command ג€ip helper-addressג€ enables a router to become a DHCP Relay Agent.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
akhuseyinoglu
Highly Voted 4 years, 5 months ago
Correct Answer : A
upvoted 23 times
TeeItUp
4 years, 5 months ago
Correct Answer: B "You must configure the ip dhcp client commands before entering the ip address dhcp command on an interface to ensure that the DHCPDISCOVER messages that are generated contain the correct option values."
upvoted 5 times
jjkcoins
4 years, 3 months ago
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/12-4/dhcp-12-4-book/config-dhcp-client.html
upvoted 1 times
...
SanchezEldorado
4 years, 4 months ago
I was really confused for a bit, but the answer is A. The snippet in the previous comment is only part of the statement. You ONLY need to configure "ip dhcp client" commands before "ip add dhcp" IF you want them to be enabled right away. It doesn't mean that you actually NEED to use "ip DHCP client" commands. In otherwords, you don't NEED option values to enable DHCP on the interface. "The ip dhcp client commands are checked only when an IP address is acquired from DHCP. If any of the ip dhcp client commands are entered after an IP address has been acquired from DHCP, it will not take effect until the next time the router acquires an IP address from DHCP. This means that the new configuration will take effect only after either the ip address dhcp command or the release dhcp and renew dhcpEXECcommandshave been configured." https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/12-4/dhcp-12-4-book/config-dhcp-client.html
upvoted 5 times
Mountie
4 years, 3 months ago
Before You Begin You must configure the ip dhcp client commands before entering the ip address dhcp command on an interface to ensure that the DHCPDISCOVER messages that are generated contain the correct option values. The ip dhcp client commands are checked only when an IP address is acquired from DHCP. If any of the ip dhcp client commands are entered after an IP address has been acquired from DHCP, it will not take effect until the next time the router acquires an IP address from DHCP. This means that the new configuration will take effect only after either the ip address dhcp command or the release dhcp and renew dhcpEXECcommandshave been configured. according to your link, ip dhcp client must be confugured before ip address dhcp to be able to configured.
upvoted 3 times
...
...
...
...
Daimen
Highly Voted 4 years, 4 months ago
A is the right answer. ip dhcp address makes the router become a dhcp client. ip dhcp client is needed to enable some parameters which makes the router(dhcp client) function properly.
upvoted 13 times
knister
4 years, 4 months ago
Agree, this is the answer that makes more sense
upvoted 2 times
...
...
[Removed]
Most Recent 7 months, 1 week ago
Selected Answer: A
A is correct
upvoted 2 times
...
kyleptt
1 year, 3 months ago
Definitely A but need to read this well lol
upvoted 1 times
...
Rob2000
3 years ago
Correct Answer: A The command that makes the client send DCHP REQUEST to get an IP address from a DHCP server is "ip address dhcp", so it is the one that enables DHCP on an interface. . "ip dhcp client" defines parameters used by the client to ask the address, for example the client id,hostname, lease time among others. It is good practice to define the client parameters before the client requests the address.
upvoted 1 times
...
GrigTech
3 years, 10 months ago
Before You Begin You must configure the ip dhcp client commands before entering the ip address dhcp command on an interface to ensure that the DHCPDISCOVER messages that are generated contain the correct option values. The ip dhcp client commands are checked only when an IP address is acquired from DHCP. If any of the ip dhcp client commands are entered after an IP address has been acquired from DHCP, it will not take effect until the next time the router acquires an IP address from DHCP. This means that the new configuration will take effect only after either the ip address dhcp command or the release dhcp and renew dhcpEXECcommandshave been configured.
upvoted 1 times
...
icca17
3 years, 10 months ago
Correct is A! Configuring the DHCP Client Cisco devices running Cisco software include the Dynamic Host Configuration Protocol (DHCP) server and relay agent software, which are enabled by default. Your device can act as both the DHCP client and the DHCP server. Use the ip address dhcp command to obtain IP address information for the configured interface. SUMMARY STEPS 1. enable 2. configure terminal 3. interface type number 4. ip address dhcp 5. end 6. debug dhcp detail 7. debug ip dhcp server packets
upvoted 2 times
...
DavidL
3 years, 11 months ago
Answer A. In packet tracer it has no ip dhcp client command.
upvoted 4 times
boghota
3 years, 11 months ago
I can confirm this. ISR4331 Router in Cisco Packet Tracer shows: Router(config)#ip dhcp ? excluded-address Prevent DHCP from assigning certain addresses pool Configure DHCP address pools relay DHCP relay agent parameters Router(config)#int g0/0/0 Router(config-if)#ip ? access-group Specify access control for packets address Set the IP address of an interface authentication authentication subcommands flow NetFlow Related commands hello-interval Configures IP-EIGRP hello interval helper-address Specify a destination address for UDP broadcasts mtu Set IP Maximum Transmission Unit nat NAT interface commands ospf OSPF interface commands proxy-arp Enable proxy ARP split-horizon Perform split horizon summary-address Perform address summarization Router(config-if)#ip address ? A.B.C.D IP address dhcp IP Address negotiated via DHCP Router(config-if)#ip address dhcp ? <cr>
upvoted 4 times
...
...
JimGrayham
3 years, 11 months ago
A. ip address dhcp. CCNA 200-301: Official Cert Guide Vol. 1 P.197 Chapter 6: Configuring Basic Switch Management.
upvoted 5 times
...
altiit
4 years ago
Correct Answer is A, Use the ip address dhcp command to obtain IP address information for the configured interface. ip dhcp client client-id {interface-name| ascii string| hex string} ip dhcp client class-id {string| hex string} ip dhcp client lease days [hours][minutes] ip dhcp client hostname host-name [no] ip dhcp client request option-name ip address dhcp Note: There is no command ip dhcp client without client-ID, class-ID, Hostname, request and lease.
upvoted 3 times
...
diamcle
4 years ago
ip address dhcp is for Cisco IOS Release 15M&T ip dhcp client is for Cisco IOS Release 12.4 So, I thinh the question needs to be more specific.
upvoted 2 times
...
GodUsopp
4 years ago
IP DHCP CLIENT is not a full command it has many options such as (config-if)# ip dhcp client class-id my-class-id or (config-if)# ip dhcp client lease 2 or (config-if)# ip dhcp client hostname router1 or (config-if)# no ip dhcp client request tftp-server-address these are examples of the full commands for the ip dhcp client and all of them are optional commands. Source https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/12-4/dhcp-12-4-book/config-dhcp-client.html
upvoted 3 times
...
Saske16
4 years ago
correct answer is B, remember A is not wrong but for cisco some answers are more correct than others. A is right but B is more right as you have to configure the ip dhcp client commands before entering ip address dhcp
upvoted 1 times
...
devildog
4 years ago
Correct answer is A straight from the cisco site.
upvoted 2 times
...
kimi7
4 years, 1 month ago
from the cisco page https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/12-4/dhcp-12-4-book/config-dhcp-client.html On the DHCP server, the configuration is as follows: ip dhcp pool 1 network 10.1.1.0 255.255.255.0 lease 1 6 On the DHCP client, the configuration is as follows on interface E2: interface Ethernet2 ip address dhcp so how A is not the right answer i dont know...al the other options are set with ip address client...something but just to enable it to take ip its ip address dhcp
upvoted 2 times
...
karemAbdullah
4 years, 1 month ago
to configure the interface Gi0/0 on the router as a DHCP client. This is how this is done: R1(config)#int Gi0/0 R1(config-if)#ip address dhcp A is the correct answer
upvoted 2 times
...
KingKeelo1
4 years, 1 month ago
Correct answer is indeed A
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago