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.3.2ccna413 min

5.3.3.2 Lab - Troubleshoot LAN Traffic Using SPAN

Topology

The topology for the Troubleshoot LAN Traffic Using 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 decide to analyze the internal local area network for suspicious network traffic and possible DoS or reconnaissance attacks. To do this, you will set up port mirroring on all active switchports and mirror/copy all traffic to a designated switch port where a PC running Wireshark can analyze the captured traffic. The goal is to identify the source of suspicious traffic. To set up port mirroring you will use the Switched Port Analyzer (SPAN) feature on the Cisco 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 a terminal emulation program, such as Tera Term or PuTTY, Wireshark, and Zenmap) 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).

Step 1: Configure SPAN on S1.

a. Locate the switchports that are up on S1

S1# show ip interface brief

Which switchports are physically up and logically up? ______

b. On S1, F0/6 connects to PC-A which will be used for analyzing traffic with Wireshark. F0/6 will be the SPAN destination monitor port for duplicated packets. F0/4 and F0/5 will be the source monitor ports for intercepted packets. You can configure multiple source monitor ports but only one destination monitor port.

S1(config)# monitor session 1 source interface f0/4 - 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: From PC-C, Use NMAP to Generate Suspicious Traffic.

a. If necessary, navigate to NMAP.org to download Zenmap. Scroll down the page to find the latest stable release for PC-C. Then following the on-screen instructions to install Zenmap with default settings.

b. Open Zenmap on PC-C and run a UDP ping scan to scan for available hosts (nmap –sn – PU 192.168.1- 6). The scan result identifies 3 hosts on the network R1, S1, and S2 at 192.168.1.1, 192.168.1.2 and 192.168.1.3. Notice that Zenmap has also identified the MAC addresses of the three hosts as Cisco Systems interfaces. If this were a real network reconnaissance attack the scan might involve the entire range of network hosts as well as ports and OS fingerprinting.

The Zenmap window running an nmap ping sweep. The Target box holds 192.168.1.1-6 and the Profile box is empty; the Command box holds "nmap -sn -PU 192.168.1.1-6". The Hosts pane on the left lists three hosts found: 192.168.1.3, 192.168.1.2 and 192.168.1.1. The Nmap Output tab shows: Starting Nmap 7.01 ( https://nmap.org ) at 2016-01-11 22:55 Mountain Standard Time; Nmap scan report for 192.168.1.1; a mass_dns warning that it is unable to determine any DNS servers, that reverse DNS is disabled, and to try --system-dns or --dns-servers; Host is up (0.00s latency); MAC Address 60:73:5C:0D:1A:61 (Cisco Systems); Nmap scan report for 192.168.1.2; Host is up (0.00s latency); MAC Address 0C:D9:96:D2:3D:C0 (Cisco Systems); Nmap scan report for 192.168.1.3; Host is up (0.00s latency); MAC Address 0C:D9:96:D2:45:C0 (Cisco Systems); and finally Nmap done: 6 IP addresses (3 hosts up) scanned in 0.51 seconds. The target, the command, each scanned address and each "Host is up" are highlighted in yellow in the source. All three MAC addresses resolve to Cisco Systems, so all three live hosts are Cisco devices.

c. The hypothetical attacker can now issue an intense scan on R1 at 192.168.1.1 (nmap –T4 –A –v 192.168.1.1). The scan result identifies an open port 23/Telnet.

The Zenmap window running an intense scan against a single host. The Target box holds 192.168.1.1, the Profile box reads Intense scan, and the Command box holds "nmap -T4 -A -v 192.168.1.1". The Hosts pane on the left lists 192.168.1.3, 192.168.1.2 and 192.168.1.1. The Nmap Output tab is scrolled part way down, so a line above the visible text is cut off; what can be read is: Initiating NSE at 23:07; Completed NSE at 23:07, 0.00s elapsed; Nmap scan report for 192.168.1.1; Host is up (0.00s latency); Not shown: 999 closed ports; the column headings PORT STATE SERVICE VERSION; the single open port, 23/tcp open telnet Cisco router telnetd; MAC Address 60:73:5C:0D:1A:61 (Cisco Systems); OS details giving Cisco 836, 890, 1751, 1841, 2800, or 2900 router (IOS 12.4 - 15.1), Cisco Aironet 1141N (IOS 12.4) or 3602I (IOS 15.3) WAP, Cisco Aironet 2600-series WAP (IOS 15.2(2)); Network Distance: 1 hop; TCP Sequence Prediction: Difficulty=263 (Good luck!); IP ID Sequence Generation: Randomized; and Service Info: OS: IOS; Device: router; CPE: cpe:/o:cisco:ios. The target and the open telnet port are highlighted in yellow in the source. The point of the figure is that port 23 is open: Telnet, which is unencrypted.

Step 4: From PC-A Stop the Wireshark Capture and Examine the Captured SPAN Packets.

a. Return to PC-A, and stop the Wireshark capture. Notice the non-standard traffic patterns between PC-C at 192.168.1.10 and R1 at 192.168.1.1. It is filled with Out-Of-Order segments and Connection resets (RST). This packet capture identifies PC-C as sending suspicious traffic to router R1.

Wireshark 1.12.6 on the SPAN destination port with no display filter, showing the TCP port scan that Zenmap ran. 192.168.1.10 is firing SYN packets at 192.168.1.1 from source port 40590 at a long list of destination ports, and 192.168.1.1 is answering each one with RST, ACK; every SYN is immediately repeated and Wireshark marks the repeat "[TCP Out-Of-Order]". All the packets are TCP and all are 60 bytes. The rows read: 66 at 8.097581000 and 67 at 8.097589000, both 192.168.1.1 to 192.168.1.10, 443 to 40590 [RST, ACK] Seq=1 Ack=1 Win=0; 68 at 8.097597000 and 69 at 8.097606000, 192.168.1.10 to 192.168.1.1, 40590 to 8888 [SYN] Seq=0 Win=1024 Len=0, the second marked out of order; 70 at 8.097897000 and 71 at 8.097915000, the same pair for port 995; 72 at 8.097965000 and 73 at 8.097975000, 135 to 40590 [RST, ACK]; 74 at 8.098246000 and 75 at 8.098264000, SYNs to port 587; 76 at 8.098505000 and 77 at 8.098523000, 8888 to 40590 [RST, ACK]; 78 at 8.098585000 and 79 at 8.098597000, SYNs to port 113; 80 at 8.098946000 and 81 at 8.098959000, 995 to 40590 [RST, ACK]; 82 at 8.098967000 and 83 at 8.098981000, SYNs to port 1025; 84 at 8.099296000 and 85 at 8.099309000, SYNs to port 139; 86 at 8.099323000 and 87 at 8.099331000, 587 to 40590 [RST, ACK]; and 88 at 8.099645000, a SYN to port 22. The RST, ACK rows are coloured red and the out-of-order rows black in the source, and the Info column is cut off by the right edge of the window so the window sizes and MSS options cannot be read in full. Every timestamp falls inside the same hundredth of a second, which is the giveaway that this is a scan and not ordinary traffic.

b. The attacker on PC-C knowing that the router has an open port on 23 could attempt an additional brute force attack or DoS style attack, like a LAND attack. A LAND attack is a TCP SYN packet with the same source and destination IP address and port number. Using Zenmap, the command nmap –sS 192.168.1.1 –S 192.168.1.1 –p23 –g23 –e eth0 is an example. Notice how the LAND attack sets both the source and destination IP addresses to 192.168.1.1 and both the source and destination port numbers to the open port at 23. Although R1 with IOS15 is not vulnerable to this older type of DoS attack, many older systems and servers are still vulnerable. This attack will crash vulnerable systems, by setting them into an infinite loop.

Reflection

In this scenario, SPAN was used to troubleshoot and identify the source of suspicious activity on the network? What other troubleshooting scenarios might SPAN be useful for? ______

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)
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
!
!
license udi pid CISCO1941/K9 sn FTX163283RA
license accept end user agreement
license boot module c1900 technology-package securityk9
!
!
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/4 - 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