10-28-2019 08:31 AM - edited 02-21-2020 11:11 AM
Hi,
I have a question regarding Rest API on ISE 2.4.
Is there any way to get all SXP static binding with additional information like IP. It would help to mange/deleting bindings.
For SXP we get in response only 'sxplocalbindings id'.
GET /ers/config/sxplocalbindings HTTP/1.1
Host: <IP@ISE>:9060
Authorization: Basic XXXXXXXXXX
Accept: application/xml
Content-Type: application/xml
ERS-Media-Type: sxp.sxplocalbindings.1.0
X-CSRF-TOKEN: fetch
Cache-Control: no-cache
---Response---
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ns3:searchResult total="2"
xmlns:ns5="ers.ise.cisco.com"
xmlns:ers-v2="ers-v2"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns3="v2.ers.ise.cisco.com">
<ns3:resources>
<ns5:resource id="080998a1-159d-4d15-9b9a-68a54cde800a">
<link rel="self" href="https://<IP@ISE>:9060/ers/config/sxplocalbindings/080998a1-159d-4d15-9b9a-68a54cde800a" type="application/xml"/>
</ns5:resource>
<ns5:resource id="5b944af1-56de-4b3c-a5db-63f157cde3c5">
<cut>
In example for Endpoint we have mac address:
<ns5:resource id="d3f6dbf0-f988-11e9-9084-000c2995a4b9" name="00:00:00:00:00:01">
for users we have username:
<ns5:resource id="d964f6aa-f98c-4381-8a08-551d28f5e239" name="test1">
Solved! Go to Solution.
11-04-2019 09:00 PM
sxp_download and sxp_subscribe Scripts might be what you are after.
11-04-2019 09:00 PM
sxp_download and sxp_subscribe Scripts might be what you are after.
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: