Monday, April 12, 2021

Anyone know of a way to automate shutting down unused ports with netmiko/ansible on IOS switches?

With ansible, I was able to put together a playbook that shutdown any port in the "down" state or "notconnect" state. The only issue was, I could't also filter it by a certain vlan. Is there a way with netmiko to shutdown a port in the notconnet or down state, and also in a specific vlan?



No comments:

Post a Comment