Parsing Configuration Files with Python

Using Python To Manage Network Configuration Files From Various Vendors: Cisco, Juniper, Arista, HP

Using Python To Manage Network Configuration Files From Various Vendors: Cisco, Juniper, Arista, HP

Section 1. Setting Up The Working Environment
Lecture 1. Getting to Know the CiscoConfParse Module

Section 2. Parsing Configuration Files
Lecture 1. Brief Look Over The Functionality Of The Tool
Lecture 2. Parsing HP Configuration Files
Lecture 3. Parsing Cisco Configuration Files - Part #1
Lecture 4. Parsing Cisco Configuration Files - Part #2
Lecture 5. Parsing Juniper Configuration Files
Lecture 6. Parsing Arista Configuration Files
Lecture 7. Parsing Configuration Files - Small Script
Lecture 8. Download The Parsing Script
Lecture 9. Section Summary - Command Cheat Sheet

Section 3. Continuing Your Python Network Programming Training
Lecture 1. Full Python Network Programming Course Series (Bundle)

Note: Basic Python understanding is required!

Note: This free course was extracted from the "Python Network Programming" series (, so you may encounter references to various tools, chapters or information in the series.

Your Instructor

Mihai Catalin Teodosiu
Mihai Catalin Teodosiu

Hi! My name is Mihai. I have a degree in Telecommunications and Information Technology from University Politehnica of Bucharest, Romania and also the CCNP, CCNA, CCDA, JNCIA and ISTQB CTFL certifications.

I worked as a Network Quality Assurance Engineer since 2010, testing the OS for Nortel/Avaya L3 switches.

  • 6+ years experience in the Networking and Testing/Quality Assurance industries.
  • Certified professional: Cisco, Juniper and International Software Testing Qualifications Board certifications.
  • Teaching courses on Udemy, the GNS3 Academy and other e-learning platforms.
  • 35.000+ students, 160+ countries, 4.5 / 5 average course rating.

See what my students are saying about the kind of courses I created:

"What an incredible value and learning experience!" by Sean A.

"Excellent material. Kudos to a great instructor with a vast level of creativity." by Anthony W.

"I can say this man is going on smoothly and perfectly, explaining in the most empirical/foundational way." by Kolapo A.

In early 2014 I decided to start learning a programming language that can make my daily work easier and also boost my networking career. This is when I discovered that Python, being a great language for beginners, can help me write some scripts that connect to network devices and perform various tasks I was doing manually, thus saving a lot of time. Also, working as a tester, I used Python to automate a lot of network tests, about 250, in a short period of time, again reducing my workload.

For all the above reasons and because there is a lot of Python material out there on the Internet that may seem discouraging for you as a beginner, I decided to build courses that take you from zero programming knowledge to advanced topics, all in a hands-on fashion.

In March 2015 I started working on my first course, "Python Network Programming - Part 1: Build 7 Python Apps", without really knowing what is online education all about and with no prior teaching experience, either online or offline. I just wanted to try it for some reason, despite a lot of mental obstacles, a full time job and zero experience in teaching people.

I worked a lot on this first course, with countless hours of researching, recording and editing, but there was something that kept me going further. In May 2015 my course was approved by Udemy and was an instant success, despite my low expectations. Gradually, the course became a bestseller on other e-learning platforms, as well. One example I'm very proud of is the GNS3 Academy.

In April 2016, I finished working on Part 2 of the Python Network Programming series, called "Multivendor Environment", after about three months of researching, testing, summarizing, simplifying, recording, editing and structuring the course content.

Finally, in September 2016, I released Part 3 of this amazing course series, called "Python Network Programming - Part 3: Scapy & Security Tools", which in my opinion is very interesting and exciting for anyone wanting to enter the world of network security in a 100% hands-on fashion.

I am really putting a lot of energy and effort into each of my courses and I am always trying (and succeeding) to pay special attention to the smallest details and provide a lot of value to my students.

I really think my courses will get better and better, both by learning from my mistakes and carefully listening to the feedback I get from my students.

So, check out my courses and stay tuned for more!

Frequently Asked Questions

When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

Get started now!