This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

published

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

teaser image

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

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.