Network Automation & Python

Guides, scripts, and write-ups for network engineers who want to build with code. Written by Cam from Michigan.

0
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 # find every device on the campus 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.

Nothing here yet. First post is coming soon.
← Back to posts

Cam
Cam
Network Operations Manager
Michigan

Network engineer with a passion for building and managing enterprise infrastructure. I have a solid foundation in routing, switching, firewalls, and network access control, but what really drives me is learning and practicing with automation.

This site is where I put the things I build. Scripts that actually work in production, configs I wish someone had handed me, and write-ups I would have wanted when I was starting out.

Tools

Subnet Calculator

Quick CIDR to subnet conversion.

CIDR → Subnet

Contact

Get in touch

Question, collab, or feedback.

Let's talk

Whether it's consulting, a project, or a question about a post.

Location
Michigan, USA

Send a message

← Cancel

New Post

✓ Admin

Admin

Enter your password.

Settings

Social Links

Paste full URLs. Leave blank to hide.

Change Password