cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
967
Views
0
Helpful
1
Replies

Rest API ISE - get all sxp bindings

tarki
Level 1
Level 1

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">

1 Accepted Solution

Accepted Solutions

hslai
Cisco Employee
Cisco Employee
1 Reply 1

hslai
Cisco Employee
Cisco Employee

sxp_download and sxp_subscribe Scripts might be what you are after.