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

Automate ISE with OpenAPIs Python - Simuating RADIUS requests

d-wade
Level 1
Level 1

I'm trying to simulate RADIUS requests to ISE so that I can get endpoint information via the API. Per the instructions, I tried running the Python script with the additional flags. However, I could not locate the .cfg files or the Python script to the run simulated RADIUS requests. I searched the whole /home directory and couldn't find them. Is there some other place I should look for the script and .cfg files? I've attached a screenshot of the instructions I tried following.

2 Replies 2

Zhicheng Lun
Cisco Employee
Cisco Employee

,Hi d-wade,

 

Here are some of my findings after I performed some test on Devnet sandbox('Automate ISE with OpenAPIs Python and Ansible' & 'PxGrid 2.0 on Clustered ISE 3.1'):
1. There are no ise_*.cfg files in Radius Simulator VM/CentOS.
2. There are some other cfg files can be used for testing in '/home/developer/Downloads/pez/cfg/final_cfg
'
3. If you used these cfg files for testing, you need to change share secret on ISE/Network Device/pez_simulator from 'C1sco12345' to 'cisco' to align with cfg files.
4. Tick all the boxes in ISE/Administration/Settings/Security Settings.
5. Set the below environmental variables at the command prompt on CentOS, (You can find this instruction in sandbox 'PxGrid 2.0 on Clustered ISE 3.1'):
export PYTHONPATH=./lib:$PYTHONPATH
export LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH
export LD_PRELOAD=./lib/libssl.so.10:./lib/libcrypto.so.10
6. You can use radius simulator in your own lab:
https://developer.cisco.com/docs/pxgrid/#!radius-simulator/radius-simulator
https://www.youtube.com/watch?v=Pw8lE7ga4Ek&t=76s

 

If you find my reply solved your question or issue, kindly click the 'Accept as Solution' button and vote it as helpful.

You can also learn more about ISE through our live Ask the Experts (ATXs) session. Check out Cisco ATXs Resources [https://community.cisco.com/t5/security-knowledge-base/cisco-endpoint-security-ask-the-experts-resources/ta-p/4394492] to view the latest schedule for upcoming sessions, as well as the useful references, e.g. online guides, FAQs.

Thank you for the feedback! I'll have to try it out for myself. However, if your instructions are valid, I think it makes sense for the lab instructions to be updated.