cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

CDP Neighbors using RESTConf - Some Devices Missing

matts1900-wb
Level 1
Level 1

Hi all,

 

I'm using RESTConf to query our Catalyst 9300s, but when it comes to CDP Neighbors I am coming unstuck. I have a switch which I know has 3 Access Points and 2 9300s as neighbors, and when I view the switch's WebUI or command line, it shows all 5 devices:image.pngimage.png

 

However, when I query the device over RESTConf using Postman, it only returns the 2 C9300s.

image.png

The query I am using is:

https://x.x.x.x/restconf/data/Cisco-IOS-XE-cdp-oper:cdp-neighbor-details/cdp-neighbor-detail?fields=device-name;local-intf-name;port-id;platform-name

How can I return all neighbors using RESTConf - Can anyone tell me where my issue lies?

 

Thank you

Who Me Too'd this topic