cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
700
Views
0
Helpful
2
Replies

ISE API deleting sxplocalbindings

lanwancig1
Level 1
Level 1

Hi,

I'm looking for way to remove SXP local bindings from ISE as a part of 'server decommision' workflow using external API-tool.

to delete sxp binding - first I have to discover 'ID', but I can't find method to find specific binding by 'ipAddressOrHost'

Only way that I founded is to:
1. get all bindings by:
https://ISE-IP:9060/ers/config/sxplocalbindings
(gives back list of ID's only)
2. check out all bindings one by one till IP will match some filter
https://ISE-IP:9060/ers/config/sxplocalbindings/<id>

This means, that if I have more than 1,5 thousands bindings, each time I have to send GET to ISE over 1,5 thousands times...

Question:
Is there any way to find sxp-local-binding using some filter by IP, or to get all bindings with IP and ID information?

2 Replies 2

Nidhi
Cisco Employee
Cisco Employee

This is the only way I can think of.

for delete operation, SXP bindingID is needed. 

Thanks,

nidhi 

Hi, thx for quick replay...

Yes, the question is how to discover this bindingID knowing IP-addres only
by scanning all bindings each time?

regards