HCIA-Datacom lab 18 of 22
Network management with SNMP and NETCONF
Manage a router and a switch from a Linux management station. You enable SNMP v2c and query both devices with snmpget and snmpwalk, then switch on NETCONF on the CloudEngine switch and pull its configuration as XML with Python's ncclient.
Run this lab
It needs Lite: its 3 nodes are set to 4 vCPU and 5,120 MB in total. That fits the free demo too.
In your workspace: Shared, then HCIA-Datacom H12-811 guided labs, then 18 - Network management with SNMP and NETCONF
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 4 vCPU, 5,120 MB
- Smallest plan
- Lite
The scenario
Northwind's operations team wants to monitor its devices instead of logging in to each one. A management station (NMS, an Ubuntu desktop with the usual tools) sits on the management LAN with the switch SW1 and the router R1. You'll make both devices answer SNMP queries and open the modern programmable interface, NETCONF, on the switch.
What you’ll practise
- Explain the SNMP manager/agent model, MIBs and OIDs, and how v1, v2c and v3 differ
- Configure an SNMP v2c agent with read community, contact and location on AR and CloudEngine
- Query devices with snmpget and snmpwalk
- Enable NETCONF over SSH on a CloudEngine switch and use it from Python (ncclient)
The tasks
- Task 0: Load the starting configuration
- Task 1: SNMP v2c on the switch
- Task 2: SNMP v2c on the router
- Task 3: Traps
- Concept: NETCONF
- Task 4: Turn on NETCONF on SW1
- Task 5: Use NETCONF from Python
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
- NMS
eth0to SW1GE1/0/10 - SW1
GE1/0/1to R1GE0/0/0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Huawei AR1000V router | huaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn | 1 vCPU, 2,048 MB |
| SW1 | Huawei CloudEngine CE6800 | huaweice6800-bundled | 2 vCPU, 2,048 MB |
| NMS | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
HCIA-Datacom H12-811 guided labs.Open
18 - Network management with SNMP and NETCONFand 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 HCIA-Datacom labs
Related labs in other courses
CloudLabBox is independent of Huawei. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.