03-14-2019 08:44 AM
Working on a script to disable POE on a switch port, then re-enable it 60 seconds later.
Just occurred to me this would be so much easier if there was an API to do the port cycle button
I don't see it, does anyone know if it exists anywhere hidden?
03-14-2019 09:42 AM
Good idea @Nolan Herring but that's not there (or hidden) today, perhaps a good wish. For now, you would need to leverage the update-a-switch-port PUT command twice, with a sleep timer in between, to toggle the poeEnabled parameter off and on. https://api.meraki.com/api_docs#update-a-switch-port
06-09-2021 02:54 PM
Hey Dave, is this still the only way to be able to accomplish this task?
11-21-2023 12:25 PM
Posting update as I was looking for this API call.
https://developer.cisco.com/meraki/api/cycle-device-switch-ports/
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