QuestionQ1111

Network Fundamentals

Question Image

Refer to the exhibit. How should router A be configured so that it sends Cisco Discovery Protocol information only to router C?

  • A #config tRouter A (config)#no cdp run -Router A (config)#interface gi0/0/1Router A (config-if)#cdp enable -
  • B #config tRouter A (config)#cdp run -Router A (config)#interface gi0/0/0Router A (config-if)#no cdp enableC.#config t -Router A (config)#cdp run -Router A (config)#interface gi0/0/1Router A (config-if)#cdp enable -
  • D #config tRouter A (config)#cdp run -Router A (config)#interface gi0/0/0Router A (config-if)#cdp enable
Explanation

Cisco Discovery Protocol operates globally with cdp run, and on individual interfaces it can be suppressed with no cdp enable. Because router A reaches router B through G0/0/0 and router C through G0/0/1, the correct configuration is to leave CDP enabled globally and disable it only on G0/0/0. That prevents CDP advertisements toward router B while still allowing them toward router C. Official Cisco documentation states that no cdp enable disables CDP on a specific interface and that CDP is otherwise enabled on supported interfaces when CDP is running globally.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!