Category: Cisco
-
Nexus 9K or NXOS 9000 failed. trying to read config file from on VMWare
When trying to load a Nexus OVA in my lab VMWare cluster I was getting the “failed. trying to read config file” every time I reloaded the switch. I figured out I needed to add a single line to the config: boot nxos bootflash:/nxos.9.2.4.bin My full base config is: hostname nexus9k-template no password strength-check ip…
-

Ansible Config As Code With Network Backups To Git And Point-In-Time Rollback
The ask for me to create this was “We want to see network configs backed up to git.” That’s easy, because I’ve done that in the past…but it was done before Execution Environments(EEs), so I need to figure that out. “Oh yeah, and if the configuration changes go sideways we want to be able to…
-

Set Cisco Nexus Interface Description From CDP Using Ansible AAP
A customer recently asked about setting CDP neighbors as interface descriptions on their switches, which is actually a pretty cool idea. I thought, though, that I don’t want just anything set…ya know, like I don’t care if the neighbor is an IP phone, what I really care about are other switches. So I created a…
-
FIB did not return source address – ASR9K or IOS-XR
I saw this recently when helping to troubleshoot an issue “FIB did not return source address”. This was for a BGP route destination when I tried to traceroute it. The route was in the routing table, so why couldn’t I trace to it? In BGP when I learn a route via eBGP(external BGP) the next-hop…
-

Cisco Full Interface Configuration Compliance Checking With Ansible
This runs through all of my Cisco switch ports and ensures they are compliant with my configuration templates. It then builds pretty reports and emails them along with a CSV of the info. I’m building the reporting piece based on my reporting blog post here. The good part about this automation is that it will…
-

Ansible Automation Platform Configures Nexus 9K ACLs
There are some newer “ACLs” modules available via many AAP collections now that make it soooo simple to work idempotently with Access Lists on networking kit. I figured I’d show a quick example of using the nxos_acls modules against some virtual Nexus 9Ks. Video Demo Playbook And Files You can find the GitHub repo here…
-

Self Service Troubleshooting Using ServiceNow and Ansible Tower
Holy cow did I learn a lot on this one. It took me the better part of two weeks to put it all together/learn everything required. This was actually my first go at automating Windows and I learned a LOT. The idea behind this setup is that if a user can’t access a TCP based…