Intermediate · Free · In your browser
Learn Network Automation
Use Python to run a multi-vendor network the way network automation teams do, on a practice network of Cisco IOS and Huawei VRP switches inside your browser. Log in with Netmiko and read show commands; turn their output into data with parsing and regular expressions; push configuration safely with error checks, Jinja2 templates and idempotent changes; back up every device, detect drift and check compliance; ask a NetBox-style inventory API; and finish by deploying a change from the source of truth, with checks before and after.
No installation. Your code runs right in the browser. Python basics such as loops, functions and dictionaries, and networking basics such as IP addresses, VLANs and switch ports; the Python Foundations and Networking Foundations courses teach them. Everything runs against a practice network in your browser, so nothing you send reaches a real device.
What you will be able to do
- Run commands on Cisco and Huawei switches with Netmiko, and handle devices that fail
- Parse show output into data and audit a fleet across vendors
- Push idempotent changes from templates, with verification, saving and rollback
- Use a REST API as the source of truth, and keep secrets out of code and backups
Course outline
First steps with automation
Log in to switches from Python, loop over many devices, and read the inventory from CSV and YAML files.
Read the network
Turn show output into data, pull facts out of free text, survive failures, and audit two vendors.
Change the network
Push configuration safely, generate it from templates, make changes idempotent, and standardize a fleet.
Backups, drift and compliance
Back up every configuration, detect changes made by hand, and check devices against a standard.
APIs and the source of truth
Ask a NetBox-style inventory API, follow its pages, and keep secrets out of code and backups.
Safe changes and the capstone
Check before and after every change, roll back automatically, and deploy from the source of truth.
Ready for your first line?
Every lesson is short, hands-on, and checked automatically.
Start learning Network Automation →