Hello,
I'm very new to using API's and I am currently fiddling with this with the purpose of trying to figure out information on connected devices on one of our remote Z3 firewalls. I can get simple things like getNetworkDevices just fine but getNetworkDeviceLldp_cdp returns a 404. I was able to successfully get the networkID and serial for this particular device using other API commands.
Anyone have any idea what I should be looking for here?
Solved! Go to solution.
@Hex The endpoint getNetworkDeviceLldp_cdp reminds me that you probably were using V0 API instead of V1. Meraki dashboard API V0 has been end of support. In V1, the endpoint is getDeviceLldpCdp.
https://developer.cisco.com/meraki/api-v1/get-device-lldp-cdp/
I'm not sure if it's possible to get this information for the Z3. I'm almost sure not.
You can try this one.
https://developer.cisco.com/codeexchange/github/repo/routetonull/getMerakiNeighbor
@Hex The endpoint getNetworkDeviceLldp_cdp reminds me that you probably were using V0 API instead of V1. Meraki dashboard API V0 has been end of support. In V1, the endpoint is getDeviceLldpCdp.
https://developer.cisco.com/meraki/api-v1/get-device-lldp-cdp/
I think this may be my issue. I do have my baseUrl set to V1 but maybe i imported out of date API commands.
Yep, that's where the 404 not found came from.
I just tested this endpoint against a Z3 with a Polycom phone connected on the PoE port and I see neighbor info.
One more example of a Cisco phone on the Z3 PoE port showing both CDP and LLDP info.
{
}