Network Automation using Python(Paramiko Module) on MikroTik

Published: 12 December 2021
on channel: MKSIT
3,029
69

In today's video we will look into how to install Paramiko module of Python using pip, and we will understand how to write a simple code in python to fetch configuration from the device. Leverage lists in python to send multiple lines of configurations in one go to the router.

Paramiko Website:
https://www.paramiko.org/
Documentation:
https://docs.paramiko.org/en/stable/

GitHub repository of the code used:
https://github.com/mksbcisco/YTrepo/t...

We will use pycharm in this video, you can download the same from:
https://www.jetbrains.com/pycharm/

In case you want to use Python's default IDE, you can download it from:
https://www.python.org/

00:00 Intro-Covered till now in Network Automation
01:11 Paramiko Understanding and Installation
02:36 Starting our first script with Paramiko
03:58 Issue with Host Keys in Paramiko
05:14 Creating SSH client Paameters
06:24 stdin, stdout, stderr tuple
07:20 Handling output of the print command (decoding the output)
09:53 add an interface and IP Address from Paramiko using FOR loop
11:47 Printing list of commands using FOR loop
13:02 Outro
14:10 What's next in the series


On this page of the site you can watch the video online Network Automation using Python(Paramiko Module) on MikroTik with a duration of hours minute second in good quality, which was uploaded by the user MKSIT 12 December 2021, share the link with friends and acquaintances, this video has already been watched 3,029 times on youtube and it was liked by 69 viewers. Enjoy your viewing!