05-11-2021 08:25 AM
I need to know if this is possible using API over switches 9200
Is necessary to verify the "error disable" status in any interface on the switches due to violation by "port security" an them perform shutdown and no shutdown to this interface.
Solved! Go to Solution.
05-12-2021 02:59 AM
@Manuel Mora Jimenez you can do this a couple of ways. You can create a script (Ansible / Python etc..) gather the state of the interfaces and perform the actions required. Or you can use Guestshell to perform this action based on the status change and then alert you to this change/error via Webex / chatops. You can find sample of both here in Code Exchange - https://developer.cisco.com/codeexchange
Hope this helps.
05-12-2021 02:59 AM
@Manuel Mora Jimenez you can do this a couple of ways. You can create a script (Ansible / Python etc..) gather the state of the interfaces and perform the actions required. Or you can use Guestshell to perform this action based on the status change and then alert you to this change/error via Webex / chatops. You can find sample of both here in Code Exchange - https://developer.cisco.com/codeexchange
Hope this helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide