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

Re: MS Uplink Port Via API

@ClusterNet : Check the v1 documents now 

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

 

Regards
Inderdeep Singh
www.thenetworkdna.com ( Awarded by Cisco IT Blogs award 2020)
RomanMD
Getting noticed

Re: MS Uplink Port Via API

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