Category: Network Automation

  • In this lab project, I built an AI-powered network assistant that: Receives questions via Telegram Decides which Cisco IOS commands are needed Connects to the router via SSH Executes read-only commands Analyzes the output using GPT-4o-mini Returns structured findings and recommendations The Idea Instead of manually running commands like: show ip interface briefshow interface Gi0/1show…

  • In this post, I’ll walk through several small but powerful Ansible playbook examples.Each example focuses on a specific concept such as variables, loops, conditions, filters, lookups, and facts. These are small puzzle pieces — but together they form the foundation of automation. Variables in a Playbook + Filters It defines a variable directly inside the…

  • When automating network devices with Ansible, collecting device information (facts) is usually the first step. In this lab, we will: Configure Ansible Define an inventory file Use cisco.ios.ios_facts Save the output to a JSON file Print selected device information Ansible Configuration (ansible.cfg) Inventory File (invt.yaml) We created a group called routers. This allows us to…

  • Here is a small but powerful automation tool that: Connects to Cisco IOS-XE routers using pyATS Parses show ip interface brief using Genie Reduces the structured data Sends it to an LLM (OpenAI) Receives an AI-based health analysis Prints a structured troubleshooting summary This is a practical example of combining Network Automation + AI-driven operations.…

  • pyATS is a powerful network automation and testing framework designed to help network engineers validate, test, and troubleshoot their infrastructures in a structured and reliable way. Instead of manually checking device configurations and network behavior, pyATS allows you to automate these tasks using Python, making your workflows faster, more consistent, and less error-prone. It is…