Network+ lab 16 of 27
Network monitoring: SNMP and flow data with port mirroring
Set up the three classic ways to watch a network. You poll a router with SNMPv2c and secure SNMPv3, receive traps, export NetFlow records of who talks to whom, and mirror a switch port to a capture host, where you see why SNMPv2c's community string is no secret.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 3,328 MB in total. That fits the free demo too.
In your workspace: Shared, then CompTIA Network Plus N10-009 guided labs, then 16 - Network monitoring - SNMP and flow data with port mirroring
- Level
- Advanced
- Time
- About 70 minutes
- Nodes need
- 5 vCPU, 3,328 MB
- Smallest plan
- Lite
The scenario
Harbour Logistics' network has no monitoring: problems are found when users phone. You'll set up the three classic views:
- SNMP, so the monitoring server (NMS) can poll devices and receive alerts.
- Flow data, so you can see who talks to whom and how much.
- Port mirroring, so a capture host can see a busy port's traffic without being in its path.
| Device | Port | Address | Role |
|---|---|---|---|
| R1 | SW1 Gi0/0 | 10.10.10.1/24, Lo0 203.0.113.1 | router: SNMP agent, NetFlow exporter |
| NMS | SW1 Gi0/1 | 10.10.10.100/24 | Ubuntu desktop with net-snmp tools (open its console for RDP; root / eve, then a MATE Terminal) |
| H1 | SW1 Gi0/2 | 10.10.10.50/24 | user PC that makes traffic |
| SNIFFER | SW1 Gi0/3 | none | capture host on the mirror port |
Settings (teaching values): SNMPv2c read-only community H4rbour-RO, allowed from the NMS only; trap community H4rbour-TRAP; SNMPv3 user nmsadmin, SHA Auth-Pass-123, AES-128 Priv-Pass-123; location "Harbour Logistics Felixstowe".
What you’ll practise
- Explain SNMP managers, agents, MIBs, OIDs, polling and traps
- Configure SNMPv2c with a restricted community and SNMPv3 with authentication and privacy
- Poll a device with snmpget and snmpwalk and read numeric OIDs
- Enable NetFlow, read the flow cache and export flows to a collector
- Configure port mirroring (SPAN) and capture mirrored traffic
- Use interface counters as baseline metrics
The tasks
- Prepare the hosts
- Mirror the router's port
- Poll the router with SNMPv2c
- Secure SNMP with version 3
- Send traps
- Collect flow data
- Take a baseline
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- R1
Gi0/0to SW1Gi0/0 - SW1
Gi0/1to NMSeth0 - SW1
Gi0/2to H1eth0 - SW1
Gi0/3to SNIFFEReth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| SW1 | Cisco IOSvL2 | viosl2-adventerprisek9-m.ssa.high_iron_20200929 | 1 vCPU, 768 MB |
| NMS | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| H1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| SNIFFER | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
CompTIA Network Plus N10-009 guided labs.Open
16 - Network monitoring - SNMP and flow data with port mirroringand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More Network+ labs
Related labs in other courses
CloudLabBox is independent of CompTIA, Cisco and Netgate. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.