cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2747
Views
5
Helpful
9
Replies

Cisco ISE API - ERS Endpoint - How to get its IP Address?

ShuningWu14393
Level 1
Level 1

Hi, 

 

Is there any way to get the IP address for an ERS endpoint? We only see the endpoint's name and MAC address (and interestingly, most of the time the name is the same as the MAC address), but the IP address is not listed. 

 

Thanks!

1 Accepted Solution

Accepted Solutions

We find the information from the monitoring API, for example,

 


curl -s -k --header 'Accept: application/xml' --user admin:C1sco12345 https://198.18.133.27/admin/API/mnt/AuthStatus/MACAddress/DE:AD:BE:EF:CA:FE/3600/100/All
 

View solution in original post

9 Replies 9

Yes, we follow the API documentation, and here is one example we got from ERS Endpoint API:

 

{"ERSEndPoint": {"id": "739e1120-6aa0-11e7-975c-0050568339b5", "name": "00:00:00:00:00:00", "mac": "00:00:00:00:00:00", "profileId": "209fd4f0-5b38-11e5-8630-0050568339b5", "staticProfileAssignment": false, "groupId": "e6f21ea0-2617-11e7-9c01-0050568339b5", "staticGroupAssignment": true, "portalUser": "", "identityStore": "", "identityStoreId": "", "link": {"rel": "self", "href": "https://ise.cos.is.****.com:9060/ers/config/endpoint/739e1120-6aa0-11e7-975c-0050568339b5 ", "type": "application/json"}}}

 

As you can see, there is no IP address included in the API response. 

Right not all calls are going to have that check this https://developer.cisco.com/docs/identity-services-engine/#!end-point/resource-definition

 

Thanks for the information! Looks like IP address is not listed in the documentation, is there any way to get this for the endpoints?

We find the information from the monitoring API, for example,

 


curl -s -k --header 'Accept: application/xml' --user admin:C1sco12345 https://198.18.133.27/admin/API/mnt/AuthStatus/MACAddress/DE:AD:BE:EF:CA:FE/3600/100/All
 

also available through session topic using pxgrid 2.0. this is the preferred way to consume data. API is use for CRUD type control operations usually

https://developer.cisco.com/docs/pxgrid/#!learning-pxgrid

Is there any reason why the credentials that work for ERS would _not_ work for the admin/API curl command above?  When I try that query on my system, the returned msg suggests the credentials are not permitted. 

Thanks.

You need to get the monitoring node IP and grant MnT admin privilege to that account

https://developer.cisco.com/docs/identity-services-engine/3.0/#!introduction-to-monitoring-rest-apis/verifying-a-monitoring-node

Resurrecting a 2-year old + thread that has an accepted solution limits the number of people that will take a look at it. The best thing to do is to start a new thread.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: