Cisco CCNA mock exam questions sample test – Question 172

.Which two are NOT valid Cisco IOS commands used for Cisco Discovery Protocol (CDP)? (Choose two.)

A. show cdp
B. show cdp entry *
C. show cdp neighbor entries
D. show cdp neighbors detail
E. show cdp devices

Correct Answer: CE

Explanation:
The show cdp neighbor entries command and the show cdp devices command are not valid Cisco IOS commands.
The Cisco IOS commands used for CDP are as follows:
show cdp: This command is used to view global CDP information, such as timer and hold time.
show cdp entry *: This command is used to view information regarding all neighboring devices.
show cdp neighbors detail: This command is used to view the details regarding the neighboring devices which are discovered by the CDP. This command is used to view details such
as network address, enabled protocols, and hold time. The complete syntax of this command is:
show cdp neighbors [type number] [detail]
Objective:
LAN Switching Fundamentals
Sub-Objective:
Configure and verify Layer 2 protocols
References:
Cisco > Cisco IOS Network Command Reference, Release 12.4 > show cdp neighbors