Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
The CCNA bank

2.3

Layer 2 discovery protocols

8 questions with the answer marked and the reasoning under it, and 5 labs and activities.

Labs and activities

  • 10.1.1.4 Packet Tracer - Map a Network Using CDPPacket Tracer10 min.pka
  • 10.1.2.5 Lab - Configure CDP and LLDPLab60 min
  • Challenge Lab 3: CDP, Banner Messages, and NTPLab5 min
  • Lab 15: Cisco Discovery ProtocolLab14 min
  • Lab 16: Configuring LLDPLab5 min

Questions and answers

  1. 1. Which statement is true about CDP on a Cisco device?

    • The show cdp neighbor detail command will reveal the IP address of a neighbor only if
    • there is Layer 3 connectivity.
    • To disable CDP globally, the no cdp enable command in interface configuration mode
    • must be used.
    • CDP can be disabled globally or on a specific interface.(correct)
    • Because it runs at the data link layer, the CDP protocol can only be implemented in
    • switches.

    CDP is a Cisco-proprietary protocol that can be disabled globally by using the no cdp run global configuration command, or disabled on a specific interface, by using the no cdp enable interface configuration command. Because CDP operates at the data link layer, two or more Cisco network devices, such as routers can learn about each other even if Layer 3 connectivity does not exist. The show cdp neighbors detail command reveals the IP address of a neighboring device regardless of whether you can ping the neighbor.

  2. 2. A network engineer is troubleshooting connectivity issues among interconnected Cisco routers and switches. Which command should the engineer use to find the IP address information, host name, and IOS version of neighboring network devices?

    • show ip route
    • show interfaces
    • show version
    • show cdp neighbors detail(correct)

    The show cdp neighbors command provides helpful information about each CDP neighbor device, including the following: Device identifiers - The host name of the neighbor device (S1) Port identifier - The name of the local and remote port (Gig 0/1 and Fas 0/5, respectively) Capabilities list - Whether the device is a router or a switch (S for switch; I for IGMP is beyond scope for this course) Platform - The hardware platform of the device (WS-C2960 for Cisco 2960 switch) he show cdp neighbors detail command can also provide information, such as the neighbors' IOS version and IPv4 address

  3. 3. A ping fails when performed from router R1 to directly connected router R2. The network administrator then proceeds to issue the show cdp neighbors command. Why would the network administrator issue this command if the ping failed between the two routers?

    • The network administrator wants to venfy the IP address configured on router R2.
    • The network administrator suspects a virus because the ping command did not work.
    • The network administrator wants to verify Layer 2 connectivity.(correct)
    • The network administrator wants to determine if connectivity can be established from a
    • non-directly connected network.

    The show cdp neighbors command can be used to prove that Layer 1 and Layer 2 connectivity exists between two Cisco devices. For example, if two devices have duplicate IP addresses, a ping between the devices will fail, but the output of show cdp neighbors will be successful. The show cdp neighbors detail could be used to verify the IP address of the directly connected device in case the same IP address is assigned to the two routers. 15. Refer to the exhibit. From what location have the syslog messages been retrieved? syslog server syslog client router RAM router NVRAM The output is captured from a virtual terminal connection on a router. The syslog messages are stored in the RAM of the monitored router.

  4. 4. Which statement is true about CDP on a Cisco device?​

    • The show cdp neighbor detail command will reveal the IP address of a neighbor only if
    • there is Layer 3 connectivity
    • To disable CDP globally, the no cdp enable command in interface configuration mode
    • must be used
    • CDP can be disabled globally or on a specific interface(correct)
    • Because it runs at the data link layer, the CDP protocol can only be implemented in
    • switches

    CDP is a Cisco-proprietary protocol that can be disabled globally by using the no cdp run global configuration command, or disabled on a specific interface, by using the no cdp enable interface configuration command. Because CDP operates at the data link layer, two or more Cisco network devices, such as routers can learn about each other even if Layer 3 connectivity does not exist. The show cdp neighbors detail command reveals the IP address of a neighboring device regardless of whether you can ping the neighbor.

  5. 5. Why would a network administrator issue the show cdp neigbors command on a router?

    • to display router ID and other information about OSPF neighbors.
    • to display routing table and other information about directly connected Cisco devices.
    • to display line status and other information about directly connected Cisco devices.
    • to display device ID and other information about directly connected Cisco devices.(correct)

    The show cdp neighbors command provides information on directly connected Cisco devices including Device ID, local interface, capability, platform, and port ID of the remote device.

  6. 6. A network engineer is interested in obtaining specific information relevant to the operation of both distribution and access layer Cisco devices. Which command provides common information relevant to both types of devices?

    • show ip protocols
    • show ip interface
    • show cdp neighbors(correct)
    • show port-security
    • show mac-address-table

    Explanation: In this case the show cdp neigbors command is the only command that will provide information relevant to both distribution and access layer devices. The show mac- address-table and show port-security commands will display information that is more related to access layer operations. The show ip protocols and show ip interface commands will display information more related to routing and network layer functions performed by devices in the distribution layer.

  7. 7. A network engineer issues the show cdp neighbor command on several network devices during the process of network documentation. What is the purpose of performing this command?

    • to obtain information about directly connected Cisco devices(correct)
    • to check the networks that are advertised by the neighboring routers
    • to verify the network addresses that are attached to the network devices
    • to check the connectivity of PCs that are connected to the network devices

    CDP reveals directly connected Cisco devices.

  8. 8. A network engineer is interested in obtaining specific information relevant to the operation of both distribution and access layer Cisco devices. Which command provides common information relevant to both types of devices?

    • show port-security
    • show ip interface
    • show ip protocols
    • show mac-address-table
    • show cdp neighbors(correct)

    In this case the show cdp neigbors command is the only command that will provide information relevant to both distribution and access layer devices. The show mac-address- table and show port-security commands will display information that is more related to access layer operations. The show ip protocols and show ip interface commands will display information more related to routing and network layer functions performed by devices in the distribution layer.