Cisco NX-API on Nexus 5500

Cisco NX-API on Nexus 5500

This week I will dive more into a network programmability topic. I will show you a practical use case for the Cisco NX-API. It provides an interface to communicate with a Nexus device using HTTP/HTTPs using JSON or XML. Because of the reliable request-response nature of the HTTP protocol, it is usually more preferable than scraping Telnet/SSH outputs.
My programming language of choice: Python

My programming language of choice: Python

With this post, I’ll like to share with you my thoughts, why programming may be relevant for network engineers and why I named it as the first learning area for network programmability and automation in my “how to start” post.
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.