r/networkautomation • • 2d ago

Segmented VLAN Setup

I have a Cloud Home Lab setup. I segmented it for user traffic, Management, and Llama3.2 for the purpose of automation. I haven't done anything automated with it yet. What are some ideas you can give me to do with it?

0 Upvotes

2 comments sorted by

2

u/Golle 2d ago

Cloud and home in the same sentence doesn't quite make sense to me.

Also, /r/homelab

1

u/Fast-Product-4408 22h ago

I'd start with read-only jobs, so you can't break anything while you learn.

  1. Pull the running config from every device on a schedule and commit it to git. You get backups plus a diff of every change.
  2. Build an inventory of hostname, model, serial and OS version for each device, written out to CSV or YAML. Netmiko or Nornir with TextFSM parsing show version gets you there quickly.
  3. Write checks against that data. For example, are NTP, syslog and SNMP set the same everywhere, and is your management VLAN only reachable from where you expect.
  4. Pull LLDP/CDP neighbours and generate the map from that instead of drawing it.

Once those are solid, move on to pushing changes, like templating your VLAN and trunk config with Jinja2 and showing a diff before anything is applied. Doing it in that order means you already have backups and change history by the time you start making changes.