Question 1,616 of 1,819
Network Infrastructure and ConnectivitymediumConfigurationObjective-mapped

Enable CDP Globally

This 200-301 practice question tests your understanding of network infrastructure and connectivity. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Network Topology
G0/1G0/1linkSW1SW2

You are connected to SW1 via the console. The network uses VLANs 10 (Sales) and 20 (Engineering). A new switch SW2 is connected to SW1 via G0/1. You need to enable CDP to discover neighbor devices and verify that SW1 sees SW2. Currently, CDP is disabled globally.

Quick Answer

The answer is to enable CDP globally with the 'cdp run' command and verify with 'show cdp neighbors'. This is correct because CDP is a Cisco proprietary Layer 2 protocol that discovers directly connected Cisco devices, but it must be active globally before any interface-level commands like 'cdp enable' can take effect; since CDP was disabled with 'no cdp run', only 'cdp run' re-enables the protocol at the global level, allowing SW1 to send and receive CDP advertisements on all interfaces, including G0/1 to SW2. On the CCNA 200-301 v2 exam, this question tests your understanding of the hierarchical relationship between global and interface CDP configuration—a common trap is trying to enable CDP on an interface while it remains globally disabled, which silently fails. Remember the memory tip: "Run it globally, then enable it locally"—always start with 'cdp run' to turn on the engine before flipping individual interface switches.

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

Enable CDP globally with 'cdp run' and verify with 'show cdp neighbors'.

CDP is disabled globally with 'no cdp run'. Re-enabling with 'cdp run' allows SW1 to discover directly connected Cisco devices, including SW2. Option B is incorrect because interface-level 'cdp enable' requires CDP to already be enabled globally; since CDP is globally disabled, this command has no effect. Option C is incorrect because 'show cdp interface' displays CDP parameters per interface, not the neighbor table; you need 'show cdp neighbors' to see discovered devices. Option D is incorrect because 'cdp enable' is not a valid global command; the correct global command is 'cdp run'.

Key principle: OSPF neighbour adjacency depends on matching area, hello/dead timers, network type, and authentication — IP reachability alone is not enough.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Enable CDP globally with 'cdp run' and verify with 'show cdp neighbors'.

    Why this is correct

    This is correct because 'cdp run' re-enables CDP globally after it has been disabled with 'no cdp run'. The 'show cdp neighbors' command displays directly connected Cisco devices, including SW2.

    Related concept

    OSPF neighbours must agree on key parameters.

  • Enable CDP on interface G0/1 with 'cdp enable' and verify with 'show cdp neighbors'.

    Why it's wrong here

    This is incorrect because 'cdp enable' is used to enable CDP on a specific interface, but if CDP is disabled globally, interface-level commands have no effect until CDP is enabled globally.

  • Enable CDP globally with 'cdp run' and verify with 'show cdp interface'.

    Why it's wrong here

    This is incorrect because 'show cdp interface' displays CDP status on interfaces, not the list of neighbors. The correct command to see neighbor devices is 'show cdp neighbors'.

  • Enable CDP globally with 'cdp enable' and verify with 'show cdp neighbors'.

    Why it's wrong here

    This is incorrect because 'cdp enable' is not a global command; it is an interface-level command. The correct global command to enable CDP is 'cdp run'.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.

Enable CDP globally with 'cdp run' and verify with 'show cdp neighbors'.Correct answer

Why this is correct

This is correct because 'cdp run' re-enables CDP globally after it has been disabled with 'no cdp run'. The 'show cdp neighbors' command displays directly connected Cisco devices, including SW2.

Enable CDP on interface G0/1 with 'cdp enable' and verify with 'show cdp neighbors'.Wrong answer — click to see why

Why this is wrong here

The specific factual error is that 'cdp enable' cannot override a global 'no cdp run' configuration.

Why candidates choose this

Candidates pick this because they know CDP can be enabled per interface and may forget that global configuration takes precedence.

Enable CDP globally with 'cdp run' and verify with 'show cdp interface'.Wrong answer — click to see why

Why this is wrong here

The specific factual error is confusing 'show cdp interface' (which shows interface CDP status) with 'show cdp neighbors' (which shows neighbor devices).

Why candidates choose this

Candidates pick this because they know 'show cdp interface' is a valid CDP verification command, but they may not realize it does not show neighbor information.

Enable CDP globally with 'cdp enable' and verify with 'show cdp neighbors'.Wrong answer — click to see why

Why this is wrong here

The specific factual error is using the wrong command syntax: 'cdp enable' is for interfaces, not global configuration.

Why candidates choose this

Candidates pick this because they may confuse 'cdp enable' (interface) with 'cdp run' (global), especially if they have experience enabling CDP on individual interfaces.

Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: OSPF can fail even when IP connectivity looks correct

OSPF neighbour formation depends on matching areas, timers, network type, authentication and passive-interface behaviour. Do not choose an answer only because the devices can ping.

Trap categories for this question

  • Command / output trap

    This is incorrect because 'cdp enable' is used to enable CDP on a specific interface, but if CDP is disabled globally, interface-level commands have no effect until CDP is enabled globally.

Detailed technical explanation

How to think about this question

OSPF questions usually test the details that control adjacency and route selection. Read the neighbour state, area, router ID and interface configuration before deciding what is wrong.

KKey Concepts to Remember

  • OSPF neighbours must agree on key parameters.
  • Router ID selection can affect neighbour relationships and LSDB output.
  • OSPF cost influences the preferred path.
  • A route can appear in OSPF information but not become the installed route.

TExam Day Tips

  • Check area mismatch first when OSPF adjacency fails.
  • Review passive interfaces when a network is advertised but no neighbour forms.
  • Use show ip ospf neighbor and show ip route clues carefully.

Key takeaway

OSPF neighbour adjacency depends on matching area, hello/dead timers, network type, and authentication — IP reachability alone is not enough.

Real-world example

How this comes up in practice

A network engineer at a university connects two campus buildings via a fibre link. Both routers run OSPF, but no adjacency forms — even though both routers can ping each other. The engineer finds one router is in area 0 and the other in area 1. OSPF adjacency requires matching area numbers, hello/dead timers, and network type. IP reachability alone is not enough.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

What to study next

Got this wrong? Here's your next step.

Review OSPF neighbour requirements — matching area type, hello and dead timers, network type, stub flags, and authentication. Study show ip ospf neighbor states (INIT, 2-WAY, FULL). Then practise related 200-301 OSPF questions on adjacency and route selection.

Related practice questions

Related 200-301 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 200-301 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 200-301 question test?

Network Infrastructure and Connectivity — This question tests Network Infrastructure and Connectivity — OSPF neighbours must agree on key parameters..

What is the correct answer to this question?

The correct answer is: Enable CDP globally with 'cdp run' and verify with 'show cdp neighbors'. — CDP is disabled globally with 'no cdp run'. Re-enabling with 'cdp run' allows SW1 to discover directly connected Cisco devices, including SW2. Option B is incorrect because interface-level 'cdp enable' requires CDP to already be enabled globally; since CDP is globally disabled, this command has no effect. Option C is incorrect because 'show cdp interface' displays CDP parameters per interface, not the neighbor table; you need 'show cdp neighbors' to see discovered devices. Option D is incorrect because 'cdp enable' is not a valid global command; the correct global command is 'cdp run'.

What should I do if I get this 200-301 question wrong?

Review OSPF neighbour requirements — matching area type, hello and dead timers, network type, stub flags, and authentication. Study show ip ospf neighbor states (INIT, 2-WAY, FULL). Then practise related 200-301 OSPF questions on adjacency and route selection.

What is the key concept behind this question?

OSPF neighbours must agree on key parameters.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More 200-301 practice questions

Last reviewed: Jun 7, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This 200-301 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 200-301 exam.