Need API Call for Switchport-Info

JoergT
Comes here often

Need API Call for Switchport-Info

Hi,

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. 😞

 

4 Replies 4
Ben
A model citizen

Hi @JoergT,

 

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

 

https://dashboard.meraki.com/manage/support/api_docs

 

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

 

SAMPLE RESPONSE

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"
}

 

Cheers,

Ben

PhilipDAth
Kind of a big deal
Kind of a big deal

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

JoergT
Comes here often

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.

 

PhilipDAth
Kind of a big deal
Kind of a big deal

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

Get notified when there are additional replies to this discussion.