Prev Question
Next Question

Which Cisco IOS Cisco Discovery Protocol (CDP) command displays the IP address of the directly connected Cisco devices?

A. show cdp

B. show cdp devices

C. show cdp traffic

D. show cdp neighbors detail

Explanation:
Explanation:
The show cdp neighbors detail command displays the IP address of the directly connected Cisco devices. CDP is a Layer 2 (Data Link layer) protocol that finds
information about neighboring network devices. CDP does not use Network layer protocols to transmit information because it operates at the Data Linklayer. For this
reason, IP addresses need not even be configured on the interfaces for CDP to function. The only requirement is that the interfaces be enabled with the no
shutdown command. An example of the output of the show cdp neighbors detail command is as follows:
Tecumsah# show cdp neighbors detail
————————-
Device ID: Tacoma
Entry address(es):

IP address: 172.19.169.88
Platform: cisco 7206VXR, Capabilities: Router
Interface: Ethernet0, Port ID (outgoing port): FastEthernet0/0/0
Holdtime: 123 sec
Version:
Cisco Internetwork Operating System Software
IOS ™ 5800 Software (C5800-P4-M), Version 12.1(2)
Copyright (c) 1986-2002 by Cisco Systems, Inc.
advertisement version: 2
Duplex: half
————————-
Device ID: Topeka
Entryaddress(es):
IP address: 172.19.169.100
Platform: cisco AS5300, Capabilities: Router
<<output omitted>>
The show cdp devices command is incorrect because this is not a valid Cisco IOS command.
The show cdp command is incorrect because this command is used to view the global CDP information. It lists the default update and holdtime timers, as in the
following sample output:
Atlanta# show cdp
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2advertisements is enabled
The show cdp traffic command is incorrect because this command displays traffic information between network devices collected by the CDP, as in the following
example:
Birmingham# show cdp traffic
Total packets output: 652, Input: 214
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
No memory: 0, Invalid: 0, Fragmented: 0
CDP version 1 advertisements output: 269, Input: 50
CDP version 2 advertisements output: 360, Input: 25
Objective:
Infrastructure Maintenance
Sub-Objective:
Use Cisco IOS tools to troubleshoot and resolve problems

References:
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mcl/allreleasemcl/all-book.html#wp1074517

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *