Shutdown thousands access ports with Python and Netmiko

Shutdown thousands of network access ports with Python and Netmiko

When people ask me “what a network engineer should do to start in network automation?”, my first answer is: start with small things. Try to automate basic and repetitive tasks you do every day. Go after the low-hanging fruits first. Then, step by step, you can do more and more complex things. This is how I learn the best. In the same vein, I want to share with you my recent experience of automating a very basic and repetitive task: shutdown thousands of unused network access ports.