exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 288 discussion

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


Refer to the exhibit. For security reasons, automatic neighbor discovery must be disabled on the R5 Gi0/1 interface. These tasks must be completed:
✑ Disable all neighbor discovery methods on R5 interface Gi0/1
✑ Permit neighbor discovery on R5 interface Gi0/2.
✑ Verify there are no dynamically learned neighbors on R5 interface Gi0/1.
✑ Display the IP address of R6's interface Gi0/2
Which configuration must be used?

  • A. R5(config)#int Gi0/1 R5(config-if)#no cdp enable R5(config-if)#exit R5(config)#lldp run R5(config)#no cdp run R5#sh cdp neighbor detail R5#sh lldp neighbor
  • B. R5(config)#int Gi0/1 R5(config-if)#no cdp enable R5(config-if)#exit R5(config)#no lldp run R5(config)#cdp run R5#sh cdp neighbor R5#sh lldp neighbor
  • C. R5(config)#int Gi0/1 R5(config-if)#no cdp run R5(config-if)#exit R5(config)#lldp run R5(config)#cdp enable R5#sh cdp neighbor R5#sh lldp neighbor
  • D. R5(config)#int Gi0/1 R5(config-if)#no cdp enable R5(config-if)#exit R5(config)#no lldp run R5(config)#cdp run R5#sh cdp neighbor detail R5#sh lldp neighbor
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
dropspablo
Highly Voted 1 year, 11 months ago
Selected Answer: D
D. R5(config)#int Gi0/1 R5(config-if)#no cdp enable R5(config-if)#exit R5(config)#no lldp run R5(config)#cdp run R5#sh cdp neighbor detail R5#sh lldp neighbor - Disable all neighbor discovery methods on R5 interface Gi0/1 (config-if)#no cdp enable / (config)#no lldp run - Permit neighbor discovery on R5 interface Gi0/2. (config)#cdp run - Verify there are no dynamically learned neighbors on R5 interface Gi0/1. #sh lldp neighbor (just to confirm LLDP discovery has been disabled) - Display the IP address of R6's interface Gi0/2 #sh cdp neighbor detail ("detail" shows information such as IP address)
upvoted 23 times
AbdullahMohammad251
1 year, 5 months ago
I just need to confirm, so we disable the lldp on all interfaces since the interface gi0/1 could use it instead of cdp to discover neighbors then we enable cdp on all interfaces except gio/1. Thank you
upvoted 2 times
...
COLONEL_MAJOR
1 year, 6 months ago
thanks for this effort to make people understand very well man , thank you
upvoted 1 times
...
...
SaMee69
Highly Voted 2 years, 4 months ago
If you don't understand why 'cdp run' command again in the end: cdp is running by default on IOS routers and IOS switches. If you turn off cdp globally by "no cdp run", there is no cdp process running, and even if there is an interface configured with "cdp enable", the device will not send or process cdp frames. If you configure an interface with "no cdp enable" and cdp is running on the device, the device will send and process received cdp frames on any interface but the ones, where cdp is disabled.
upvoted 14 times
CHCHCHC
2 years, 3 months ago
what about the last command? how wil "sh lldp neighbor" work when you have already disabled it in global privilage mode? w
upvoted 5 times
...
...
siri_8932
Most Recent 7 months, 3 weeks ago
Why cant it be B?
upvoted 1 times
...
[Removed]
1 year, 1 month ago
Selected Answer: D
D is correct
upvoted 2 times
...
FALARASTA
2 years ago
D is correct. The actions are performed for both LLDP and CDP. I was confused at first
upvoted 1 times
...
VictorCisco
2 years, 1 month ago
Why in the end show lldp neighbor? if lldp is disabled ??
upvoted 3 times
josop
1 year, 6 months ago
just to mess with us i guess
upvoted 1 times
...
...
linuxlife
2 years, 1 month ago
but if for specific interface only, no cdp enable is a VALID command. Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface gi0/1 Switch(config-if)#no cdp enable Switch(config-if)#
upvoted 1 times
...
linuxlife
2 years, 1 month ago
no cdp enable is an INVALID command. It must be no cdp run. Switch(config)#no cdp enable ^ % Invalid input detected at '^' marker. Switch(config)#no cdp run Switch(config)#end Switch# %SYS-5-CONFIG_I: Configured from console by console Switch#show cdp neigh Switch#show cdp neighbors % CDP is not enabled Switch#
upvoted 3 times
country_rooted
2 years ago
This command is solely to disable an interface or a range thereof as is indicated in the question. Hence, why C is wrong from the go / process of elimination because we are not trying to disble CDP globally.
upvoted 1 times
...
imigr
2 years, 1 month ago
you have to type this command under the interface Switch(config-if)#no cdp enable
upvoted 1 times
...
...
RougePotatoe
2 years, 5 months ago
Does anyone know why is it D? Nothing says these routers are both cisco devices?
upvoted 3 times
splashy
2 years, 5 months ago
I think because "Disable all neighbor discovery methods" which means both lldp & cdp
upvoted 2 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