Meraki devices API, listing the the switches other then the Meraki devices. It is the API behavior?

ManojD
Conversationalist

Meraki devices API, listing the the switches other then the Meraki devices. It is the API behavior?

Hi,

 

I have doubt about Meraki devices API.

I am finding/listing all Meraki devices using Meraki API, but also it listing the switches which are not part of Meraki. These switches are connected in the network along with the Meraki devices in my network.

Is it the behavior of the Meraki API to list down all the network devices present in the network?

 

API, which I am using: 

https://api.meraki.com/api/v1/organizations/{organizationId}/devices

1 Reply 1
HolgerS
Meraki Employee
Meraki Employee

Hey @ManojD ,

 

The getOrganizationDevices endpoint will return all Meraki and cloud monitored catalyst devices. For devices detected using CDP / LLDP there is a separate endpoint to get those. You will need to iterate through the organization(s), networks(s) and device(s).

 

https://developer.cisco.com/meraki/api-v1/get-device-lldp-cdp/

 

In adition there is a way to get the overall linklayer topology per network using this endpoint: https://developer.cisco.com/meraki/api-v1/get-network-topology-link-layer/

 

Kind regards

Holger 

Holger Struckmann
CCIE #60154
Get notified when there are additional replies to this discussion.