Install Several Automation Tools on Ubuntu 16.04

Paramiko

packetnotes@ubuntu:~$ sudo apt-get install build-essential libssl-dev libffi-dev -y

packetnotes@ubuntu:~$ sudo apt-get install python-pip -y

packetnotes@ubuntu:~$ sudo pip install cryptography

packetnotes@ubuntu:~$ sudo pip install –upgrade pip

packetnotes@ubuntu:~$ sudo pip install paramiko

packetnotes@ubuntu:~$ sudo pip install –upgrade paramiko

packetnotes@ubuntu:~$ pip show paramiko

Name: paramiko

Version: 2.4.1

Summary: SSH2 protocol library

Home-page: https://github.com/paramiko/paramiko/

Author: Jeff Forcier

Author-email: jeff@bitprophet.org

License: LGPL

Location: /usr/local/lib/python2.7/dist-packages

Requires: pyasn1, bcrypt, cryptography, pynacl

Required-by:

Netmiko:

Must install Paramiko first before installing Netmiko

packetnotes@ubuntu:~$ sudo pip install netmiko

packetnotes@ubuntu:~$ sudo pip show netmiko

Name: netmiko

Version: 2.1.1

Summary: Multi-vendor library to simplify Paramiko SSH connections to network devices

Home-page: https://github.com/ktbyers/netmiko

Author: Kirk Byers

Author-email: ktbyers@twb-tech.com

License: MIT

Location: /usr/local/lib/python2.7/dist-packages

Requires: paramiko, scp, pyyaml, pyserial, textfsm

Required-by:

NAPALM

packetnotes@ubuntu:~$ sudo apt-get install -y –force-yes libssl-dev libffi-dev python-dev python-cffi

packetnotes@ubuntu:~$ sudo pip install napalm

packetnotes@ubuntu:~$ pip show napalm

Name: napalm

Version: 2.3.1

Summary: Network Automation and Programmability Abstraction Layer with Multivendor support

Home-page: https://github.com/napalm-automation/napalm

Author: David Barroso, Kirk Byers, Mircea Ulinic

Author-email: dbarrosop@dravetech.com, ping@mirceaulinic.net, ktbyers@twb-tech.com

License: UNKNOWN

Location: /usr/local/lib/python2.7/dist-packages

Requires: setuptools, cffi, future, jtextfsm, jinja2, netaddr, pyYAML, pyeapi, netmiko, pyIOSXR, junos-eznc, pynxos, scp

Required-by:

PyNTC

packetnotes@ubuntu:~$ sudo pip install pyntc

packetnotes@ubuntu:~$ pip show pyntc

Name: pyntc

Version: 0.0.5

Summary: A multi-vendor library for managing network devices.

Home-page: https://github.com/networktocode/pyntc

Author: Network To Code

Author-email: ntc@networktocode.com

License: UNKNOWN

Location: /usr/local/lib/python2.7/dist-packages

Requires: requests, jsonschema, future, netmiko, paramiko, pynxos, coverage, mock, terminal, gtextfsm, pyeapi, junos-eznc

Required-by:



F5 LTM and ISE 2.0 TACACS Integration

I googled around and did not find any specific and comprehensive tutorial to integrate F5 and ISE 2.0 TACACS service. So I lab it out and turns out pretty easy as the flow is simple and straight forward. Using RADIUS between F5 LTM and ISE 2.0 is a bit more complicated in my opinion. Continue Reading




Enabling SSH Access on Cisco ASA

Penggunaan telnet untuk access perangkat sudah hampir tidak pernah dipakai lagi. Banyak device sekarang menggunakan SSH bahkan jika perangkat hanya diakses dari sisi inside interface (dari dalam jaringan) karena lebih baik dari sisi security. Continue Reading