11-14-2019 11:42 PM
Hi all,
when I execute the query https://10.1.2.10:9060/ers/config/endpoint?filter=mac.EQ.00:c0:b7:cd:62:67
I do get the endpoint ID. But how to proceed to get info like IP Address, Username and other info visible in the endpoint browser GUI.
Thanks & Regards
Thomas
Solved! Go to Solution.
11-26-2019 07:39 AM
I spoke with some co-workers @hslai said that the ISE APIs are limited. You can provide http://cs.co/ise-feedback
If endpoints have active sessions, then we may get the username and IP address via ISE M&T session API (or pxGrid API)
Otherwise, CSV export from the ISE context visibility UI or ISE admin CLI or using http://iseeat.cisco.com tool. @thwollnik i see you took this approace
You can get the details using the MAC address. It is a two step process:
It wasn't clear if it showed the ip address or username in the API docs
This is a sample API call response to receive the details for a specific endpoint:
{
"ERSEndPoint": {
"id": "a159fd90-e947-11e9-a485-2af7a80ea872",
"name": "AA:00:22:33:34:56",
"description": "POS1",
"mac": "AA:00:22:33:34:56",
"profileId": "",
"staticProfileAssignment": false,
"groupId": "aa0e8b20-8bff-11e6-996c-525400b48521",
"staticGroupAssignment": false,
"portalUser": "",
"identityStore": "",
"identityStoreId": "",
"link": {
"rel": "self",
"href": "https://10.93.141.40:9060/ers/config/endpoint/a159fd90-e947-11e9-a485-2af7a80ea872",
"type": "application/xml"
}
}
}
11-15-2019 07:54 AM
11-17-2019 07:48 AM
Yeah Ive read the basic documentation. The search for an endpoint via a MAC works. But the info that is returned by the API call is not what I need. I need the IP Address and the username for example. Not only of WLAN clients but off all available Endpoints int the identity store.
11-25-2019 07:04 AM
11-25-2019 08:31 AM
Hi,
thanks for the info.
I do have the mac address and Im searching for all other details like the IP, hostname, username, etc asscoiated with that MAC. I gave up on trying to achieve this via the ERS-API.
I exported the endpoint DB to a csv file. Now I can do the queries against this file.
11-26-2019 07:39 AM
I spoke with some co-workers @hslai said that the ISE APIs are limited. You can provide http://cs.co/ise-feedback
If endpoints have active sessions, then we may get the username and IP address via ISE M&T session API (or pxGrid API)
Otherwise, CSV export from the ISE context visibility UI or ISE admin CLI or using http://iseeat.cisco.com tool. @thwollnik i see you took this approace
You can get the details using the MAC address. It is a two step process:
It wasn't clear if it showed the ip address or username in the API docs
This is a sample API call response to receive the details for a specific endpoint:
{
"ERSEndPoint": {
"id": "a159fd90-e947-11e9-a485-2af7a80ea872",
"name": "AA:00:22:33:34:56",
"description": "POS1",
"mac": "AA:00:22:33:34:56",
"profileId": "",
"staticProfileAssignment": false,
"groupId": "aa0e8b20-8bff-11e6-996c-525400b48521",
"staticGroupAssignment": false,
"portalUser": "",
"identityStore": "",
"identityStoreId": "",
"link": {
"rel": "self",
"href": "https://10.93.141.40:9060/ers/config/endpoint/a159fd90-e947-11e9-a485-2af7a80ea872",
"type": "application/xml"
}
}
}
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