2.7 Lab - NETCONF Wpython List Capabilities
2.7 Lab - NETCONF Wpython List Capabilities
Objectives
Part 1: Install the ncclient Python module
Part 2: Connect to IOS XE’s NETCONF service using ncclient
Part 3: List the IOS XE’s capabilities – supported YANG models
Background / Scenario
Working with NETCONF does not require working with raw NETCONF RPC messages and XML. In this lab
you will learn how to use the ncclient Python module to easily interact with network devices using NETCONF.
You will learn how to identify which YANG models are supported by the device. This information is helpful
when building a production network automation system, that requires specific YANG models to be supported
by the given network device.
Required Resources
• Access to a router with the IOS XE operating system version 16.6 or higher
• Python 3.x environment
Instructions
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 2 www.netacad.com
Lab – NETCONF w/Python: List Capabilities
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 2 www.netacad.com