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

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

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.

Topology of Network management with SNMP and NETCONF3 nodes, 2 links. Every link is listed as text below the diagram.R1SW1NMSeth0GE1/0/10GE1/0/1GE0/0/0
3 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Network management with SNMP and NETCONF, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Huawei AR1000V routerhuaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn1 vCPU, 2,048 MB
SW1Huawei CloudEngine CE6800huaweice6800-bundled2 vCPU, 2,048 MB
NMSEVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder HCIA-Datacom H12-811 guided labs.

  3. Open 18 - Network management with SNMP and NETCONF and 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

All 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.