Skip to content

Network Automation

My journey with Network & Cloud Automation

Menu
  • Beginner
  • DevOps-NetDevOps
  • Network Automation
    • Docker
    • Python Libraries
      • NAPALM
      • Netmiko
      • Jinja2
      • Scrapli
      • Yang
  • Cloud Automation
    • Terraform
  • Python 🐍 Tips and Tricks
Menu

Tag: parse data

textfsm for network engineers

How to Parse data with TextFSM

Posted on August 23, 2021August 21, 2021 by Gurpreet Kochar

TextFsm is available as a plugin to various device interaction libraries like Netmiko but what if we need to use TEXTFSM as a standalone python package, it is also available. Conditions where you don’t have access to the devices but have outputs from the device in a text file. We have already seen how to…

Read more
python pandas parse write to excel

How to read write Excel with python for Network Automation Part 2

Posted on August 10, 2021August 7, 2021 by Gurpreet Kochar

We have already seen how to work with and manipulate CSV files with python for network automation. This post is going to talk about ways you can manipulate excel for network automation using python. Please read How to read write Excel with python for Network Automation Part 1 From one of the previous posts, we…

Read more
netmiko genie parser

How To Install and Parse Data with Netmiko Genie Plugin

Posted on August 9, 2021August 7, 2021 by Gurpreet Kochar

In the previous post, we have seen how to leverage the TEXTFSM parser with netmiko. In this post, we will see how to install and parse data with Netmiko Genie plugin into a formatted data structure that we can easily export to a datasheet. List of available GENIE PARSERS. Step1:- Install pyats and netmiko You…

Read more
Netmiko TEXTFSM

How to Install and Parse data with Netmiko TextFSM Plugin

Posted on August 8, 2021September 1, 2021 by Gurpreet Kochar

The foremost is to be setup TextFSM correctly for Netmiko to work. The official site (Netmiko & NTC )explains a method that didn’t really work for me. I have tried to set up TextFSM using pip install ntc_templates and also using git clone but none of them particularly worked for me out of the box….

Read more

[Beginners] How to parse the output of show version

Posted on August 1, 2021August 1, 2021 by Gurpreet Kochar

In this post we will parse the output of show version to fetch most common details required from it. We will try to learn step by step how to capture information like version, hostname, hardware model, uptime etc. You can use the concept to fetch any other detail you would like from any other command…

Read more

How to parse data using python

Posted on July 29, 2021August 15, 2021 by Gurpreet Kochar

Assume you want to extract below details from the output of “show version” from multiple devices at once. This post is going to talk about how to parse data using python Using this method you can extract anything you want from any other output too. For instance, you can extract all BGP neighbour info from…

Read more
All Blog Posts
My Resume

Upcoming Posts

Sorry - nothing planned yet!

Recent Posts

  • How to backup configuration to TFTP Server using Ansible – Part II
  • How to backup network devices using Ansible – Part I
  • Netmiko SSH Proxy/JumpServer
  • A short note on SASE
  • Understanding Ansible

Recent Comments

  1. Jack on Multithreading with Python for Network Engineers
  2. LifeCanvas on [Theory] Multithreading vs Multiprocessing vs AsyncIO
  3. Jasper Horng on Netmiko SSH Proxy/JumpServer
  4. asdfasdf on Python API Using FASTAPI – UPDATE – PUT – PATCH – Part V
  5. Gurpreet Kochar on Python Scrapli AsyncIO Usage

Archives

  • September 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
Topic Request / Suggestion
Loading
© 2026 Network Automation | Powered by Minimalist Blog WordPress Theme

Loading Comments...