Cisco NX-OS data centre lab 10 of 15
EEM applets and the scheduler
Make N1 look after itself. Embedded Event Manager applets block a dangerous command and bring up a standby uplink the moment the primary fails, and the scheduler saves the configuration on a timer.
Run this lab
It needs Lite: its 4 nodes are set to 5 vCPU and 7,680 MB in total. That fits the free demo too.
In your workspace: Shared, then Cisco Nexus NX-OS data centre guided labs, then 10 - EEM applets and the scheduler
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 5 vCPU, 7,680 MB
- Smallest plan
- Lite
The scenario
Hall 3 pays for its standby line by the gigabyte, so Ethernet1/2 stays shut unless the primary line fails. There's nobody on site at night, so N1 has to do that by itself. Someone also typed write erase on the wrong switch last month, and the manager wants that made impossible. Finally, the night shift wants a fresh copy of the configuration kept on the switch every minute during the migration.
| Item | Value |
|---|---|
| Primary uplink | Ethernet1/1 to R1, 10.1.1.0/30, up |
| Standby uplink | Ethernet1/2 to R2, 10.1.2.0/30, shut down |
| Carrier's service address | 203.0.113.1, on both R1 and R2 |
| H1 | 10.10.10.11/24, gateway .1 |
| OSPF | Area 0 is already running on N1, R1 and R2 |
What you’ll practise
- Write an EEM applet that matches a CLI command and overrides it
- Use a track object to trigger an applet and change the configuration
- Follow an applet through its history
- Create scheduler jobs and schedules, and read their log
The tasks
- Start the lab
- Block a command
- React to a failure
- Fail the primary
- The scheduler
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
- N1
e1to R1Gi0/0 - N1
e2to R2Gi0/0 - N1
e5to H1eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| N1 | Cisco Nexus 9000v | nxosv9k-9300v-9.3.10 | 2 vCPU, 6,144 MB |
| R1 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| R2 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| H1 | 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
Cisco Nexus NX-OS data centre guided labs.Open
10 - EEM applets and the schedulerand 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 Cisco NX-OS data centre labs
All Cisco NX-OS data centre labs
CloudLabBox is independent of Cisco. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.