Showing results for 
Search instead for 
Did you mean: 

Need API Call for Switchport-Info

Comes here often

Need API Call for Switchport-Info


I am looking for API calls for the following information (Switch):

- Current Interface Status and negotiation (Right now I can only use SNMP (Standard-ifTable))

- Current PoE Port-Poweroutput


SNMP is very rudimentarily implemented. Smiley Sad


Building a reputation

Re: Need API Call for Switchport-Info

Hi @JoergT,


You can find all the info about the API in the documentation.


Think you need "Return a switch port", but they do not send all the info you need. See sample response below.



Successful HTTP Status: 200

  "number": 1,
  "name": "my port",
  "tags": "dorm-room limited",
  "enabled": true,
  "type": "access",
  "vlan": 10,
  "voiceVlan": 20,
  "poeEnabled": true,
  "isolationEnabled": false,
  "rstpEnabled": true,
  "stpGuard": "disabled",
  "accessPolicyNumber": "asdf1234",
  "linkNegotiation": "Auto negotiate"




Kind of a big deal

Re: Need API Call for Switchport-Info

Sorry @JoergT there is no easy way of doing that.  You are stuck with horrible SNMP.

Comes here often

Re: Need API Call for Switchport-Info

Thanks, I thought so.

.... but these are all just settings. Live information is unfortunately not well implemented. There is still a lot of catching up to do here.
Unfortunately, SNMP is poorly implemented and doesn't provide much information.
Because of this, among other things, I will choose Catalyst, against Meraki (unfortunately "politics" also plays a role here). Still my opinion is, that Meraki is not suitable for the bigger enterprise sector. It's all nice click and colorful, but much fewer possibilities.


Kind of a big deal

Re: Need API Call for Switchport-Info

Although some Meraki sales person heart just sank, overall the Cisco shareholders are happy with you decision.  :-)

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.