AACC – Spring 2023 – CTS-233-400 – DEVASC 200-901: Lab 8.3.6 – Use NETCONF to Access, Configure, and Backup an IOS XE Device

In this tutorial video, we dive head first into the Network Configuration Protocol (NETCONF) and Lab 8.3.6 where we start out by manually connecting and establishing an interactive NETCONF session, we learn how to list out the current and active connections, we then progress to manually sending NETCONF messages using the XML data format to learn about the device capabilities, configuraiton, and state information. We then move on to automating the collection of this information by using the Python module ncclient which allows us to create ncclient.manager.connect() objects that represent our NETCONF session with the CSR1kv. In those sessions our #python module then gathers up and prints out the CSR1kv NETCONF capabilities, prints out the running configuration, configures the hostname of the CSR1kv and a loopback address and then we close out by looking over a Python script that can create multiple random loopback addresses on the CSR1kv. Enjoy!

*These videos are being made for my AACC Spring 2023 CTS-233-400 learners to provide additional support for their learning journey.*