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.
Beyond the blueprint: the older CCNA material

Lab5.3.2.3ccna415 min

5.3.2.3 Lab - Implement Local SPAN

Topology

The topology for the Implement Local SPAN lab. Router R1 sits at the top and its port G0/1 goes down to switch S1 port F0/5. S1 port F0/4 runs across to switch S3 port F0/4. S1 port F0/6 goes down to PC-A, and S3 port F0/18 goes down to PC-C. No IP addresses are printed on the figure.

Addressing Table

DeviceInterfaceIP AddressSubnet MaskDefault Gateway
R1G0/1192.168.1.1255.255.255.0N/A
S1VLAN 1192.168.1.2255.255.255.0192.168.1.1
S3VLAN 1192.168.1.3255.255.255.0192.168.1.1
PC-ANIC192.168.1.254255.255.255.0192.168.1.1
PC-CNIC192.168.1.10255.255.255.0192.168.1.1

Objectives

  • Part 1: Build the Network and Verify Connectivity

  • Part 2: Configure Local SPAN and Capture Copied Traffic with Wireshark

Background / Scenario

As the network administrator you want to analyze traffic entering and exiting the local network. To do this, you will set up port mirroring on the switch port connected to the router and mirror all traffic to another switch port. The goal is to send all mirrored traffic to an intrusion detection system (IDS) for analysis. In this initial implementation, you will send all mirrored traffic to a PC which will capture the traffic for analysis using a port sniffing program. To set up port mirroring you will use the Switched Port Analyzer (SPAN) feature on the Cisco switch. SPAN is a type of port mirroring that sends copies of a frame entering a port, out another porton the same switch. It is common to find a device running a packet sniffer or Intrusion Detection System (IDS) connected to the mirrored port.

Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers (ISRs) with Cisco IOS Release 15.4(3) (universalk9 image). The switches used are Cisco Catalyst 2960s with Cisco IOS Release 15.0(2) (lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model and Cisco IOS version, the commands available and output produced might vary from what is shown in the labs. Refer to the Router Interface Summary Table at the end of this lab for the correct interface identifiers.

Note: Make sure that the routers and switches have been erased and have no startup configurations. If you are unsure, contact your instructor.

Required Resources

1 Router (Cisco 1941 with Cisco IOS Release 15.4(3) universal image or comparable) 2 Switches (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable) 2 PCs (Windows with terminal emulation program, such as Tera Term) Console cables to configure the Cisco IOS devices via the console ports Ethernet and serial cables as shown in the topology

Part 1: Build the Network and Verify Connectivity

In Part 1, you will set up the network topology and configure basic settings, such as the interface IP addresses, static routing, device access, and passwords.

Step 1: Cable the network as shown in the topology.

Attach the devices as shown in the topology diagram, and cable as necessary.

Step 4: Configure basic settings for the router.

a. Disable DNS lookup.

b. Configure the device name as shown in the topology.

c. Configure an IP address for the router as listed in the Addressing Table.

d. Assign class as the encrypted privileged EXEC mode password.

e. Assign cisco for the console and vty password, enable login.

f. Set the vty lines to transport input telnet.

g. Configure logging synchronous to prevent console messages from interrupting command entry.

h. Copy the running configuration to the startup configuration.

Step 5: Configure basic settings for each switch.

a. Disable DNS lookup.

b. Configure the device name as shown in the topology.

c. Assign class as the encrypted privileged EXEC mode password.

d. Configure IP addresses for the switches as listed in the Addressing Table.

e. Configure the default gateway on each switch.

f. Assign cisco for the console and vty password and enable login.

g. Configure logging synchronous to prevent console messages from interrupting command entry.

h. Copy the running configuration to the startup configuration.

Step 6: Verify connectivity.

a. From PC-A, you should be able to ping the interface on R1, S1, S3, and PC-C. Were all pings successful? ______

If the pings are not successful, troubleshoot the basic device configurations before continuing.

b. From PC-C, you should be able to ping the interface on R1, S1, S3, and PC-A. Were all pings successful? ______

If the pings are not successful, troubleshoot the basic device configurations before continuing.

Part 2: Configure Local SPAN and Capture Copied Traffic with Wireshark

To configure Local SPAN you need to configure one or more source ports called monitored ports and a single destination port also called a monitored port for copied or mirrored traffic to be sent out of. SPAN source ports can be configured to monitor traffic in either ingress or egress, or both directions (default).

The SPAN source port will need to be configured on the port that connects to the router on S1 switch port F0/5. This way all traffic entering or exiting the LAN will be monitored. The SPAN destination port will be configured on S1 switch port F0/6 which is connected to PC-A running Wireshark.

Step 1: Configure SPAN on S1.

a. Console into S1 and configure the source and destination monitor ports on S1. Now all traffic entering or leaving F0/5 will be copied and forwarded out of F0/6

S1(config)# monitor session 1 source interface f0/5
S1(config)# monitor session 1 destination interface f0/6

Step 2: Start a Wireshark Capture on PC-A.

a. Open Wireshark on PC-A, set the capture interface to the Local Area Connection and click Start.

The Wireshark 1.12.6 Capture Interfaces dialogue, listing four adapters with their link-local addresses and live counters. Local Area Connection, an Intel(R) 82577LC Gigabit Network Connection on fe80::64b3:bb08:7792:3b23, shows 92 packets at 8 packets per second, and its tick box is the one ticked. Local Area Connection 2, a TAP-Windows Adapter V9 on fe80::101b:d55f:6f72:cb2b, shows 0 and 0. VMware Network Adapter VMnet8, a VMware Virtual Ethernet Adapter on fe80::d31:bfdc:155e:e3ff, shows 92 and 8. VMware Network Adapter VMnet1, also a VMware Virtual Ethernet Adapter, on fe80::3471:368b:d2d1:21fe, shows 92 and 8. Each row has a Details button. Along the bottom are Help, Start, a greyed Stop, Options and Close. In the source the tick box on Local Area Connection and the Start button are both ringed in yellow, because those are the two things the student is told to click.

Step 3: Telnet into R1 and create ICMP traffic on the LAN.

a. Telnet from S1 to R1.

S1# Telnet 192.168.1.1
Trying 192.168.1.1 . . . Open
User Access Verification
Password:
R1>

b. From privileged mode, ping PC-C, S1 and S3.

R1> enable
Password:
R1# ping 192.168.1.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
R1# ping 192.168.1.2
<Output omitted>
R1# ping 192.168.1.3
<Output omitted>

Step 4: Stop the Wireshark Capture on PC-A and Filter for ICMP.

a. Return to PC-A and stop the running Wireshark capture on PC-A.

Wireshark 1.12.6 capturing live on Local Area Connection, with the display filter box empty, so every packet the SPAN session copies is shown. Eight packets are visible, all between 192.168.1.1 and 192.168.1.2. Number 96 at 20.982328000 goes from 192.168.1.1 to 192.168.1.2, TCP, 60 bytes, info beginning "23 to 35389". Number 97 at 20.983065000 goes from 192.168.1.2 to 192.168.1.1, TELNET, 60 bytes, Telnet Data. Number 98 at 20.983433000 goes from 192.168.1.1 to 192.168.1.2, TELNET, 60 bytes, Telnet Data. Number 99 at 21.178308000 goes from 192.168.1.2 to 192.168.1.1, TCP, 60 bytes, info beginning "35389 to 23". Number 100 at 21.898020000 goes from 192.168.1.2 to 192.168.1.1, TELNET, 60 bytes. Number 101 at 21.898441000 goes from 192.168.1.1 to 192.168.1.2, TELNET, 60 bytes. Number 102 at 21.901144000 goes from 192.168.1.1 to 192.168.1.2, TELNET, 154 bytes. Number 103 at 21.901166000 goes from 192.168.1.1 to 192.168.1.2, TELNET, 60 bytes. The Info column is cut off by the right edge of the window in the source, so the sequence and flag detail cannot be read. In the toolbar the red "Stop the running live capture" button is ringed in yellow and its tooltip is showing.

b. Filter the Wireshark capture for ICMP packets.

Wireshark 1.12.6 still capturing, with icmp typed into the display filter box but not yet applied, so the box is green and the list still holds TELNET and TCP packets. An autocomplete list has dropped down under the box offering icmp and icmpv6, and it covers two packet rows whose numbers cannot be read. The Apply button is ringed and its tooltip reads "Apply this filter string to the display". The packets that can be read are: 107 at 21.903464000 from 192.168.1.1 to 192.168.1.3, ICMP, 114, Echo (ping) request; 108 at 21.904949000 from 192.168.1.3 to 192.168.1.1, ICMP, 114, Echo (ping) reply; 109 at 21.905260000 from 192.168.1.1 to 192.168.1.2, TELNET, 60, Telnet Data; 110 at 21.905282000 from 192.168.1.1 to 192.168.1.3, ICMP, 114, Echo (ping) request; 111 at 21.907203000 from 192.168.1.3 to 192.168.1.1, ICMP, 114, Echo (ping) reply; 112 at 21.907573000 from 192.168.1.1 to 192.168.1.2, TELNET, 60, Telnet Data; 113 at 21.907595000 from 192.168.1.1 to 192.168.1.3, ICMP, 114, Echo (ping) request; 114 at 21.909093000 from 192.168.1.2 to 192.168.1.1, TCP, 60, 35389 to 23 [ACK] Seq=34 and then cut off; 115 at 21.909338000 from 192.168.1.3 to 192.168.1.1, ICMP, 114, Echo (ping) reply; 116 at 21.909656000 from 192.168.1.1 to 192.168.1.2, TELNET, 60, Telnet Data; 117 at 21.909730000 from 192.168.1.1 to 192.168.1.3, ICMP, 114, Echo (ping) request; 118 at 21.911685000 from 192.168.1.3 to 192.168.1.1, ICMP, 114, Echo (ping) reply; and 119 at 21.911949000 from 192.168.1.1 to 192.168.1.2, TELNET, 60, Telnet Data.

c. Examine the Wireshark capture filtered for ICMP packets.

Wireshark 1.12.6 with the icmp display filter applied, showing only echo requests and replies, every one 114 bytes. The first block is between 192.168.1.1 and 192.168.1.10: 26 at 10.240016000 request (the selected row), 29 at 10.241021000 reply, 31 at 10.241384000 request, 32 at 10.241833000 reply, 34 at 10.242139000 request, 35 at 10.242581000 reply, 37 at 10.242891000 request, 38 at 10.243356000 reply, 40 at 10.243645000 request and 41 at 10.244088000 reply. The second block is between 192.168.1.1 and 192.168.1.2: 64 at 15.097278000 request, 65 at 15.100126000 reply, 67 at 15.100518000 request, 68 at 15.102406000 reply, 70 at 15.102742000 request, 71 at 15.104717000 reply, 73 at 15.105053000 request, 74 at 15.107079000 reply, 76 at 15.107415000 request and 77 at 15.109430000 reply. The third block is between 192.168.1.1 and 192.168.1.3: 104 at 21.901236000 request, 105 at 21.903040000 reply, 107 at 21.903464000 request and 108 at 21.904949000 reply. Every request comes from 192.168.1.1 and every reply goes back to it, and the gaps in the packet numbers are the non-ICMP traffic the filter has hidden.

d. Were the pings from R1 to PC-C, S1 and S3 successfully copied and forwarded out f0/6 to PC-A? ______

e. Was the traffic monitored and copied in both directions? ______

Reflection

In this scenario, instead of using PC-A, and a packet sniffer, would an IDS or an IPS be more appropriate? ______

Router Interface Summary Table

Router Interface Summary
Router ModelEthernet Interface #1Ethernet Interface #2Serial Interface #1Serial Interface #2
1800Fast Ethernet 0/0 (F0/0)Fast Ethernet 0/1 (F0/1)Serial 0/0/0 (S0/0/0)Serial 0/0/1 (S0/0/1)
1900Gigabit Ethernet 0/0 (G0/0)Gigabit Ethernet 0/1 (G0/1)Serial 0/0/0 (S0/0/0)Serial 0/0/1 (S0/0/1)
Router Interface Summary
2801Fast Ethernet 0/0 (F0/0)Fast Ethernet 0/1 (F0/1)Serial 0/1/0 (S0/1/0)Serial 0/1/1 (S0/1/1)
2811Fast Ethernet 0/0 (F0/0)Fast Ethernet 0/1 (F0/1)Serial 0/0/0 (S0/0/0)Serial 0/0/1 (S0/0/1)
2900Gigabit Ethernet 0/0 (G0/0)Gigabit Ethernet 0/1 (G0/1)Serial 0/0/0 (S0/0/0)Serial 0/0/1 (S0/0/1)
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many interfaces the router has. There is no way to effectively list all the combinations of configurations for each router class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device. The table does not include any other type of interface, even though a specific router may contain one. An example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be used in Cisco IOS commands to represent the interface.

Device Configs

Router R1

R1#show run
Building configuration...
Current configuration : 1379 bytes
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$9VIJ$vAdKomdXQ9N4SieMoFxeD1
!
no aaa new-model
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
cts logging verbose
!
!
redundancy
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
!
!
line con 0
password cisco
logging synchronous
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password cisco
login
transport input telnet
!
scheduler allocate 20000 1000
!
end

Switch S1

S1#show run
Building configuration...
Current configuration : 1605 bytes
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname S1
!
boot-start-marker
boot-end-marker
!
enable secret 4 06YFDUHH61wAE/kLkDq9BGho1QM5EnRtoyr8cHAUg.2
!
no aaa new-model
system mtu routing 1500
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.1.2 255.255.255.0
!
ip default-gateway 192.168.1.1
ip http server
ip http secure-server
!
!
line con 0
password cisco
logging synchronous
login
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
!
monitor session 1 source interface Fa0/5
monitor session 1 destination interface Fa0/6
end

Switch S3

S3#show run
Building configuration...
Current configuration : 1482 bytes
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname S3
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$YRtb$6k0fixPDtcRtjKATQH5Op1
!
no aaa new-model
system mtu routing 1500
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.1.3 255.255.255.0
!
ip default-gateway 192.168.1.1
ip http server
ip http secure-server
!
!
line con 0
password cisco
login
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end

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