Arista EOS lab 12 of 20
EOS day-2 operations with AEM and port mirroring
Run the day-2 toolkit a data-centre operations engineer uses on EOS: a quick health check, a SPAN session to a capture host, an event handler that reacts to an uplink going down, scheduled CLI snapshots, and a configuration session that rolls itself back unless confirmed.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 5,632 MB in total. That fits the free demo too.
In your workspace: Shared, then Arista EOS guided labs, then 12 - EOS day-2 operations with AEM and port mirroring
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 5 vCPU, 5,632 MB
- Smallest plan
- Lite
The scenario
You're on the Northwind operations rota. The application team reports "slow and flaky" traffic between h1 (behind leaf1) and h2 (behind leaf2), and change control wants every risky change to undo itself if the engineer loses access. Use the EOS operations toolkit: check the switches' health, mirror h1's port to the probe capture host, have leaf1 record every change of its uplink automatically, collect regular counter snapshots, and practise a self-reverting change.
| Device | Interface | Notes |
|---|---|---|
| leaf1 | Ethernet1 | trunk uplink to leaf2 Ethernet1 |
| leaf1 | Ethernet3 | h1, VLAN 10 |
| leaf1 | Ethernet4 | probe (capture host, mirror destination) |
| leaf2 | Ethernet3 | h2, VLAN 10 |
| h1 / h2 | eth0 | 10.10.10.11/24 · 10.10.10.12/24 |
What you’ll practise
- Run a repeatable health check from the CLI (version, memory, processes, errors, logs)
- Mirror a port to a capture host with a monitor session and read the traffic with tcpdump
- Write an event handler that runs a Linux action when an interface changes state
- Schedule periodic CLI snapshots with the CLI scheduler and find their output files
- Make a risky change inside a configuration session with a commit timer
The tasks
- A two-minute health check
- Mirror h1's port to the capture host
- React to events with an event handler
- Collect snapshots with the CLI scheduler
- A change that reverts itself
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
- leaf1
Ethernet1to leaf2Ethernet1 - leaf1
Ethernet3to h1eth0 - leaf2
Ethernet3to h2eth0 - leaf1
Ethernet4to probeeth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| leaf1 | Arista vEOS | veos-4.33.1.1F | 1 vCPU, 2,048 MB |
| leaf2 | Arista vEOS | veos-4.33.1.1F | 1 vCPU, 2,048 MB |
| h1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| h2 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| probe | 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
Arista EOS guided labs.Open
12 - EOS day-2 operations with AEM and 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 Arista EOS labs
Related labs in other courses
CloudLabBox is independent of Arista Networks. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.