Wednesday, 13 December 2017

NAPALM 01



https://napalm.readthedocs.io/en/latest/



Installing Napalm:

sudo apt-get update
sudo apt-get install build-essential libssl-dev libffi-dev -y
sudo apt-get install python -y
sudo apt-get install python-pip -y
pip install cryptography
pip install netmiko
pip install --upgrade pip
pip install napalm


+++

Referencing to https://napalm.readthedocs.io/en/latest/support/index.html  ...



+++



+++

  GNU nano 2.8.6                           File: napalm1.py                                     

from napalm import get_network_driver
driver = get_network_driver('ios')
iosvl2 = driver('192.168.122.71', 'adrian', 'cisco')
iosvl2.open()

ios_output = iosvl2.get_facts()
print ios_output
















No comments:

Post a Comment

Demo: Interface Profiles

Create Leaf Interface Profile