Automate SSH connections with netmiko

Automate SSH connections with netmiko

Today, I like to show you an example how to automate SSH connections with netmiko. To demonstrate it, I decide to create a simple CDP information crawler. The result should be a basic network diagram based on HTML and Javascript. As you might know, this involve more components than just netmiko. It is used to collect the information from the device using SSH. To parse the output from the device, we will use TextFSM. For the visualization, we will use some HTML, Javascript and CSS.
Parse CLI outputs with TextFSM

Parse CLI outputs with TextFSM

Some weeks ago, I got the request to check parts from more than 5000 lines show inventory output for there end of live state. How to handle this at scale? My solution: parse the data using TextFSM.