
This is an introduction about me and this course.
You will learn why Python is so popular and how it can be used in our day to day life of network engineer.
If you are using Apple Mac, then this lecture will help you knowing the steps to install Python 3.8. Also, note that Python 2.7 is by default installed. However, in windows, Python does not come pre-installed.
For Windows, You will know the steps to install Python 3.8 on Windows Operating System. It is very easy to install and operate.
It is always advisable to practice and test the network stuff on GNS3 before implementing on real network devices. So, It is important to know how to connect your workstation with GNS3 Switch or Router or ASA Firewall over IP Address for connectivity.
Python scripting requires IP connectivity to be able to push the scripts on the Network devices.
This is the first lecture where you will learn to automate some of the network stuff. Here I will show you how to configure EIGRP on Cisco Router.
I am using GNS3 and GNS3 VM. Script is uploaded and available for download.
I am using Telnet to access devices using Python in this lecture.
If you have some devices which are having IPs in sequence , then this script will configure all of the devices in one go. Remember, you can only configure same set of commands on multiple devices using Python. I am using Telnet to access devices using Python in this lecture.
For loop has been used.
Script can be downloaded from this lecture itself.
You will not always get to configure multiple devices with IPs in sequence. In real life, 99.99 percent chances are that previous script wont work, however, this lecture will make you capable to edit the script to configure multiple devices with different range of IPs using For loop in Python 3.8.
It is very good script. It can be downloaded from this lecture itself. Again, I used Telnet to connect to GNS3 Routers.
Here you will learn to use the python 3.8 script to configure cisco switches one at a time.
In the topology I used two layer 3 switches in GNS3. So script has been used to configure both switches one by one.
Switching does not work very well in GNS3 so I used router 3825 with extra module for layer 2.
I used the same script which i had prepared for router. I wanted to prove that configuring switch, router, Asa, nexus switches have same method in Python3.
You may download the attached py file.
If you have to configure many vlans on a switch then instead of typing all vlans in python script, use "for loop" in the script.
It is very helpful. I also have the script attached, can be downloaded.
You will learn to configure more than one switches with multiple Vlans using double "for loop" statements. First loop is for repeating switches, second will be used for repeating vlan statements.
You can save this script and use it as per your need.
This video will show to configure Cisco ASA Firewall using Python 3.8 script. I will be setting up initial telnet access to firewall using manual efforts.
After that Script will be prepared for configuring two interfaces with name, security-level and verification commands will be run.
Script is attached for reference and download.
If you are looking to take backup of configuration of multiple devices in one go, then this lecture is for you.
In this I will use a file which carries list of IPs I want to take backup. The script will then create backup configuration file of each device.
Script is attached for your reference. It will work in Python 3.8
PIP is a package manager in Python for installing the dependant software packages and codes written in Python. Netmiko , Paramiko can only be installed thru PIP.
You will know more about the steps to install these libraries.
Initially 10 minutes, you will learn the steps to install pip, paramiko, netmiko on windows OS. After that You will learn the steps to prepare script using paramiko module for configuring Router.
Same script can be used by modification to suit requirement.
This is a 30 minute lecture for every student. You will also get to see what mistakes happen inadvertently and how to recover.
You will get good idea on using paramiko.
Script is available in Resources section which can be downloaded.
Here I will show you steps to create Python 3.8 script for Switch configuration using Paramiko.
After this, you will be able to make any configuration changes in switches with SSH login.
Script is available and can be downloaded.
Netmiko is also one of the methods to configure network devices using SSH, however, it has been specifically designed for network devices only.
It is very easy to use, we need to use very less commands to achieve the desired result.
Netmiko uses Paramiko in background.
Script is attached which can be downloaded.
You do not need to type in all commands in the python script, rather you save all commands in text file and give reference inside python script of netmiko. Watch video to see how it works and it is super easy.
You can configure a switch by using "For" loop if you want to configure commands repetitively. You need to configure this loop inside of python script.
This video will guide on configuring multiple switches with multiple Vlans using double "for loops". First "For loop" will repeat login to each device while second loop will repeat Vlans.
It is very similar to one lecture in first section of Telnet library. It is very simple.
Download the script as well.
This video will guide you for installation of GNS3 and GNS3 on your workstation. Though It is RECORDED for Cisco ASA firewall but same process needs to be followed for Installing Cisco Router OS.
If any issues, reach out to me in Q&A section.
This Python for Network Engineer course is really helpful for those who are looking to automate the network stuff while configuring the routers, switches and cisco asa firewall. I have used latest version of Python 3.8.
You will be able to know to setup some commands on more than one devices. You will learn to leverage the pre-existing python scripts to achieve the purpose.
Initially you will learn to use the telnet library/module, after that Paramiko and Netmiko modules will be used for SSH cryptography.
You will learn to configure
1. Single router using telnetlib
2. Multiple routers using telnetlib
3. Single Switch using telnetlib
4. Single Switch with multiple Vlans using For loop
5. Multiple Switches using double For loop.
6. Cisco ASA firewall using telnetlib
7. Taking Backup of configuration of switches in files.
8. Steps to download PIP, Paramiko, Netmiko
9. Configuring Router using Paramiko for SSH
10. Configuring Switch using Paramiko for SSH
11. Configuring Router using Netmiko
12. Configuring Router by referencing to file
13. Configuring multiple Vlans in Switch using Netmiko
14. Setup multiple switches with multiple Vlans using Netmiko
and many more
With this course, you will understand that you can configure any networking device using Python 3.8. Since this is the latest version, so you will see changes in the syntax of scripts.
I have uploaded all scripts in the Resources section of each lecture. You can download and run. You will get very good knowledge in implementing these scripts in your daily usage.
In case you are not happy with the course, you can refund with in 30 days as per Udemy Policy.