RouteByCode

Network Automation & Python

Guides, scripts, and write-ups for network engineers who want to build infrastructure with code.

Posts
MI
Location
2+
Years
Online

Explore


🐍

Python Automation

Netmiko, Nornir, pyATS. Scripts that run against production gear.

🌐

Network Engineering

BGP, OSPF, VXLAN, spine-leaf. Configs and diagrams.

🔒

Security & NAC

802.1X, MAB, Palo Alto. Locking things down the right way.

⚙️

Infrastructure as Code

Ansible, Git, CI/CD. Network configs managed like software.


scan_network.py
#!/usr/bin/env python3 from nornir import InitNornir from nornir_netmiko.tasks import netmiko_send_command nr = InitNornir("config.yaml") def get_mac_table(task): r = task.run( netmiko_send_command, command_string="show mac address-table", use_textfsm=True ) return r.result results = nr.run(task=get_mac_table) print(f"Scanned {len(nr.inventory.hosts)} switches")
Blog

Posts

Guides, scripts, and notes from the field.

Loading posts...
← Back to posts

Cam
// Network Operations Manager
📍 Michigan

Network engineer with a passion for building enterprise infrastructure with code. I work across switching, wireless, NAC, and automation — mostly Cisco gear, mostly Python.

This site is a living notebook: configs that worked, scripts I actually use, lessons from production environments.

Python
Nornir
Netmiko
pyATS
Ansible
Cisco IOS-XE
Cisco 9800
BGP / OSPF
PacketFence
Cloudflare
Git / CI/CD
VXLAN
Tools

Network Tools

Quick utilities for network engineers.

🔢 CIDR Calculator

Full subnet breakdown from any CIDR block.

🔌 Wildcard Mask Converter

Convert subnet mask to wildcard (ACL/OSPF use).

🌐 Subnets in CIDR Block

Split a block into smaller subnets. Enter the block and new prefix.

📋 Troubleshoot Checklist

Pick a scenario and get a structured CLI checklist.

Contact

Get in touch

Let's talk

Email
Location
Michigan, USA
✓ Message sent — I'll get back to you soon.
✗ Something went wrong. Try emailing directly.

New Post

A
HL

Publish

Tips

Just type in the box above.
Use the toolbar to make text bold, add headings, bullet lists, and code blocks.

The short summary appears on the blog card — keep it to 1–2 sentences.
📡

Stay in the loop

Get notified when new posts drop — network automation, Python scripts, and infrastructure deep-dives. No spam. Posts only.

Subscribe by email

Drop your email below and I'll notify you whenever something new goes up.

No spam. Unsubscribe anytime.

Admin Mode Active

Settings

Delete Post?

This cannot be undone.