cancel
Showing results for 
Search instead for 
Did you mean: 

Cycle Port API

Kind of a big deal

Cycle Port API

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?

Nolan Herring | nolanwifi.com
TwitterLinkedIn
1 REPLY 1
Meraki Employee

Re: Cycle Port API

Good idea @NolanHerring 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 

 

Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.