MS Uplink Port Via API

ClusterNet
Here to help

MS Uplink Port Via API

Hi All, 

 

It looks like the v0 API endpoint for uplinks have been depreciated. I've combed through documentation on this but can't seem to find anything on this. 

 

How do you know which switch port is the uplink for the MS switch via the API now? I've checked the port calls, and can't seem to find that in their either. 

 

Thank you!

2 Replies 2
Inderdeep
Kind of a big deal
Kind of a big deal

@ClusterNet : Check the v1 documents now 

https://developer.cisco.com/meraki/api-v1/#!get-organization-uplinks-statuses

 

Regards/Inder
Cisco IT Blogs awarded in 2020 & 2021
www.thenetworkdna.com
RomanMD
Building a reputation

All API calls for management interface are referring to MX, even the one you said, from v0.

Therefore, I don't think there is a way to determine the Uplink for a MS switch, unless you prepare it yourself. 

 

For instance, you can tag the uplink ports so later you can identify them via tag.

Or, another way would be to check the CDP/LLDP neighbour and try to compute it yourself, if your network IP address scheme permits.

Get notified when there are additional replies to this discussion.