06-25-2020 02:30 PM
Is there a field in ISE that indicates a network device (under Administration->Network Resources->Network Devices) is active or not?
Right now, I am pulling the complete list of network devices, via REST API get's. Blindly, meaning everything under Network Devices is pulled, with multiple gets (due to limit per page). It would be nice to pull just active devices, if that is even possible.
Thanks,
Peter
Solved! Go to Solution.
06-26-2020 05:57 AM - edited 06-26-2020 06:04 AM
AFAIK there is no API to grab only active NADs. However, to aide you in the multiple get call issue due to limits, try appending this:
Add this to the end of string '&size=100' to get more results returned with your get call;
For example: "...." --request GET https://<ise pan>:9060/ers/config/endpoint?filter=groupId.EQ.a1649530-6840-11e9-aa97-0242f38bcc8a&size=100
Lastly, see these links for more on filters:
https://developer.cisco.com/docs/identity-services-engine/#!searching-a-resource/paging
06-26-2020 05:57 AM - edited 06-26-2020 06:04 AM
AFAIK there is no API to grab only active NADs. However, to aide you in the multiple get call issue due to limits, try appending this:
Add this to the end of string '&size=100' to get more results returned with your get call;
For example: "...." --request GET https://<ise pan>:9060/ers/config/endpoint?filter=groupId.EQ.a1649530-6840-11e9-aa97-0242f38bcc8a&size=100
Lastly, see these links for more on filters:
https://developer.cisco.com/docs/identity-services-engine/#!searching-a-resource/paging
06-26-2020 10:43 AM
Thanks Mike.
Right now, I have the following added to the url, for my get requests.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide