
Basic NetMiko
Getting started with Netmiko using DevNet always on Sandbox.
Netmiko
Multi-vendor library to simplify Paramiko SSH connections to network devices. In this example we use the DevNet always on sandbox for IOS XR and IOS XE. For more info on Netmiko, see the
Netmiko GitHub page.
Installation | Python Environment Setup
It is recommended that this code be used with Python 3.6. It is highly recommended to leverage Python Virtual Environments (venv).
Follow these steps to create and activate a venv.
# OS X or Linux
virtualenv venv --python=python3.6
source venv/bin/activate
To install Netmiko, simply use pip and install the requirements file
pip install -r requirements.txt
Netmiko has the following requirements (which pip will install for you)
- Paramiko >= 2.4.3
- scp >= 0.13.2
- pyyaml
- pyserial
- textfsm

About me
Network Automation Developer Advocate for Cisco DevNet.
I'm like Hugh Hefner... minus the mansion, the exotic cars, the girls, the magazine and the money. So basically, I have a robe.
Find me here: LinkedIn / Twitter