cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1300
Views
5
Helpful
4
Replies

Cisco ISE 2.4 Patch 8 - REST API CoA Reauth

Hi guys!!

 

I've configured an API rest application for applying an ANC policy to an endpoint, but until I excute a CoA ReAuth this policy isn't applied... so I want to apply at the same time ANC policy and CoA from API Rest call... Can anybody help how should be configure this API call?

 

For example, I detect that device with mac address 11:22:33:44:55:66 has a virus so I apply an ANC policy to this mac address... and I need to apply at the same time an API call to re-authenticate the device, in order to apply de ANC policy and "block" the network access.

 

Many thanks!!

Regards

 

Marcos

4 Replies 4

Anurag Sharma
Cisco Employee
Cisco Employee

Hey @Marcos Rodriguez ,

 

Check out this guide .

How many nodes are there in your deployment and what are their personas?

Hope that helps!
Please 'RATE' and 'MARK ACCEPTED', if applicable.

Hi my friend anurag!!

 

This is my deployment:

 

CoA.JPG

 

I found the same link of guide you share me but I',m not sure about the API call that I have to configure in my Postman for test it... GET/PUT/... exact URL format... 

 

Can you share me any example?

 

Many thanks!!

 

Hi @Marcos Rodriguez ,

 

It is not straightforward and I have not verified this.

First, you want to find out the session owner (which PSN) of the MAC address:

(GET) https://madisepan01.DOMAIN.COM/admin/API/mnt/Session/MACAddress/00:26:82:7B:D2:51

Then, when you find the server (session owner), you can use that in the server place /Reauth/SERVER/00:XX...

(POST) https://madisepan01.DOMAIN.COM/admin/API/mnt/CoA/Reauth/madisepsn01/00:26:82:7B:D2:51/1

 

Try and see if it works.

Hope that helps!
Please 'RATE' and 'MARK ACCEPTED', if applicable.

I’d think you can make this call against the MNT and not worry which PSN is the owner