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.
2.3 Layer 2 discovery protocols

Packet Tracer activity10.1.1.4ccna210 min

10.1.1.4 Packet Tracer - Map a Network Using CDP

Want it marked as you type? Install the lab panel once and Packet Tracer shows your marks and a tutor you can ask.

Topology

Four things in a line. Admin-PC connects to switch S1, S1 connects to router Edge1, and Edge1 runs over a serial link to a cloud labelled Remote Branch Office. No interface names or IP addresses are printed on the diagram, which is the point of the lab: the rest of the map has to be discovered with CDP.

Addressing Table

DeviceInterfaceIP AddressSubnet MaskLocal Interface and Connected Neighbor
Edge1G0/0192.168.1.1255.255.255.0G0/1 - S1
S0/0/0209.165.200.5255.255.255.252S0/0/0 - ISP
Branch-EdgeS0/0/1209.165.200.10255.255.255.252S0/0/1 - ISP
Branch-EdgeG0/0192.168.3.249255.255.255.248G0/0 – Branch-Firewall
Branch- FirewallG0/0192.168.3.253255.255.255.248G0/0 – Branch-Edge
Branch- FirewallG0/1192.168.4.129255.255.255.128G0/1 – sw-br-floor2
sw-br-floor1G0/1G0/1 - sw-br-floor3
sw-br-floor1G0/2G0/2 - sw-br-floor2
sw-br-floor2G0/1G0/1 – Branch-Firewall
DeviceInterfaceIP AddressSubnet MaskLocal Interface and Connected Neighbor
sw-br-floor2G0/2G0/2 – sw-br-floor1
sw-br-floor2F0/24F0/24 – sw-br-floor3
sw-br-floor2SVI192.168.4.132255.255.255.128
sw-br-floor3F0/24F0/24 – sw-br-floor2
sw-br-floor3G0/1G0/1 – sw-br-floor1
sw-br-floor3SVI192.168.4.133255.255.255.128

Objectives

Map a network using CDP and SSH remote access.

Background / Scenario

A senior network administrator requires you to map the Remote Branch Office network and discover the name of a recently installed switch that still needs an IP address to be configured. Your task is to create a map of the branch office network. You must record all of the network device names, IP addresses and subnet masks, and physical interfaces interconnecting the network devices, as well as the name of the switch that does not have an IP address.

To map the network, you will use SSH for remote access and the Cisco Discovery Protocol (CDP) to discover information about neighboring network devices, like routers and switches. Because CDP is a Layer 2 protocol, it can be used to discover information about devices that do not have IP addresses. You will record the gathered information to complete the Addressing Table and provide a topology diagram of the Remote Branch Office network.

You will need the IP address for the remote branch office, which is 209.165.200.10. The local and remote administrative usernames and passwords are:

Local Network

Username: admin01 Password: S3cre7P@55

Branch Office Network

Username: branchadmin Password: S3cre7P@55

Part 1: Use SSH to Remotely Access Network Devices

In Part 1, you will use the Admin-PC to remotely access the Edge1 gateway router. Next, from the Edge1 router you will SSH into the Remote Branch Office.

a. On the Admin-PC, open a command prompt.

b. SSH into the gateway router at 192.168.1.1 using the username admin01 and the password S3cre7P@55.

PC> ssh –l admin01 192.168.1.1
Open
Password:
Edge1#

Note: Notice that you are placed directly into privileged EXEC mode. This is because the admin01 user account is set to privilege level 15.

c. Use the show ip interface brief and show interfaces commands to document the Edge1 router’s physical interfaces, IP addresses, and subnet masks in the Addressing Table.

Edge1# show ip interface brief
Edge1# show interfaces

d. Using the Edge1 router’s CLI, you will SSH into the Remote Branch Office at 209.165.200.10 with the username branchadmin and the same password:

Edge1# ssh –l branchadmin 209.165.200.10
Open
Password:
Branch-Edge#

After connecting to the Remote Branch Office at 209.165.200.10 what piece of previously missing information can now be added to the Addressing Table above? ______

Part 2: Use CDP to Discover Neighboring Devices

You are now remotely connected to the Branch-Edge router. Using CDP, begin looking for connected network devices.

a. Issue the show ip interface brief and show interfaces commands to document the Branch- Edge router’s network interfaces, IP addresses, and subnet masks. Add the missing information to the Addressing Table to map the network:

Branch-Edge# show ip interface brief
Branch-Edge# show interfaces

b. Security best practice recommends only running CDP when needed, so CDP may need to be turned on. Use a show cdp command to test its status.

Branch-Edge# show cdp
% CDP is not enabled

c. You need to turn on CDP, but it is a good idea to only broadcast CDP information to internal network devices and not to external networks. To do this, disable CDP on the s0/0/1 interface and then turn on the CDP protocol.

Branch-Edge# configure terminal
Branch-Edge(config)# interface s0/0/1
Branch-Edge(config-if)# no cdp enable
Branch-Edge(config-if)# exit
Branch-Edge(config)# cdp run

d. Issue a show cdp neighbors command to find any neighboring network devices.

Note: CDP will only show connected Cisco devices that are also running CDP.

Branch-Edge# show cdp neighbors

Is there a neighboring network device? What type of device is it? What is its name? On what interface is it connected? Is the device’s IP address listed? ______

e. To find the IP address of the neighboring device use the show cdp neighbors detail command and record the ip address:

Branch-Edge# show cdp neighbors detail

Aside from the neighboring device’s IP address, what other piece of potentially sensitive information is listed? ______

f. Now that you know the IP address of the neighbor device, you need to connect to it with SSH in order to discover other devices that may be its neighbors.

Note: To connect with SSH use the same Remote Branch Office username and password.

Branch-Edge# ssh –l branchadmin <the ip address of the neighbor device>

After successfully connecting with SSH, what does the command prompt show?

Branch-Firewall#

g. You are remotely connected to the next neighbor. Use the show cdp neighbors command, and the show cdp neighbors detail command, to discover other connected neighbor devices. What types of network devices neighbor this device? ______

h. Continue discovering new network devices using SSH and the show CDP commands. Eventually, you will reach the end of the network and there will be no more devices to discover.

What is the name of the switch that does not have an IP address on the network? ______

i. Draw a topology of the Remote Branch Office network using the information you have gathered using CDP.

The finished map of the branch network that the CDP lab asks a student to work out. A cloud on the left is joined by a red serial cable to the router Branch-Edge. Branch-Edge is joined to the router Branch-Firewall by a black cable drawn dashed, which is how Packet Tracer draws a copper cross-over. Branch-Firewall is cabled to the switch sw-br-floor2. sw-br-floor2 is cabled to sw-br-floor3 above it and to sw-br-floor1 below it, and sw-br-floor3 and sw-br-floor1 are also cabled directly to each other, so those three switches form a triangle. Every link light is green except the one at the sw-br-floor3 end of the cable down to sw-br-floor1, which is amber, the colour that means spanning tree has put the port in a blocking state. No addresses and no port names are printed on the diagram.

Suggested Scoring Rubric

Activity SectionPossible PointsEarned Points
Part 1 Question2
Question d2
Part 2 Questions8
Question d2
Question e1
Question f1
Question g2
Question h2
Packet Tracer10
Addressing Scheme Documentation60
Activity SectionPossible PointsEarned Points
Topology Documentation20
Total Point100

Your answers

Nothing here is marked. Most of these answers are read off your own machine, so there is no right value to compare them against; they are kept so your work survives.

Check your answersEvery question in this lab, answered. Take your own capture first.→

Source: itexamanswers.net