cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Announcements
Choose one of the topics below to view our ISE Resources to help you on your journey with ISE

This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC! We will not comment or assist with your TAC case in these forums.
Please see How to Ask the Community for Help for other best practices.

888
Views
0
Helpful
2
Replies
Highlighted
Beginner

Pulling only active network devices from ISE, via REST API?

 

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
VIP Engager

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

https://www.cisco.com/c/en/us/td/docs/security/ise/2-4/api_ref_guide/api_ref_book/ise_api_ref_ers1.html
HTH!

View solution in original post

2 REPLIES 2
Highlighted
VIP Engager

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

https://www.cisco.com/c/en/us/td/docs/security/ise/2-4/api_ref_guide/api_ref_book/ise_api_ref_ers1.html
HTH!

View solution in original post

Highlighted

Thanks Mike.

 

Right now, I have the following added to the url, for my get requests.

 

'config/networkdevice?size=100&page=1'
Content for Community-Ad