11-09-2021 08:20 AM
Hello,
We are trying to consume ISE sandbox instance to access the APIs but we are unable to connect to the instance lab. We followed below steps,
1. Raised request to reserve sandbox lab from DevNet by choosing "Automate ISE with OpenAPIs Python and Ansible sandbox lab"
2. Got Lab address and credentials in email
3. Tried to access the APIs of ISE using the given lab address but we are unable to connect (PS: When we tried to ping to the address, the request got timed out)
Appreciate if any help from the support team for any guidance on this. Thanks.
11-09-2021 08:36 AM
@balajnat were you able to connect the VPN ok? Sandbox devices do not respond to ICMP, by security design. If your VPN is connected you should be able to access the following devices. Hope this helps.
11-09-2021 09:10 AM
Appreciate the quick response.
Yes, I am connected to VPN (Bangalore)
This is where we need help, we are trying to access ISE APIs (listed in below link) using REST calls with the help of the new sandbox that got reserved for us.
API reference link: https://developer.cisco.com/docs/identity-services-engine/v1/#!acibindings
Sandbox address reserved: devnetsandbox-usw1-reservation.cisco.com:20234
Could you guide us on how to access the api's with the above details.
11-09-2021 09:15 AM
Hello @balajnat Cisco VPN and DevNet Sandbox are two different services. Please see this guide on how to connect to the sandbox you have reserved https://developer.cisco.com/docs/sandbox/#!first-reservation-guide
Hope this helps.
11-09-2021 09:29 PM
Yes,we tried the same by setting VPN connection to the lab's instance and tried to hit the APIs via REST call in POSTMAN but request is not reaching out.
Is there any way we can access ISE APIs via REST from POSTMAN?
11-09-2021 11:50 PM
@balajnat are you able to access any of the devices - such as ssh to the devbox?
11-10-2021 06:27 AM
No, we are not able to!
Ideally we would like to do some REST api call once we are able to connect.
I followed the steps from the link that you gave, but after setting VPN to my lab instance, I could not access sandbox site or any other site in cisco network.
Thanks.
11-10-2021 07:27 AM
@balajnat i have reserved a sandbox today, I can ssh to the devbox ok and also ISE. I do not know enough about this sandbox to make API calls. The UI loads ok too.
(venv)$ ssh developer@10.10.20.50 developer@10.10.20.50's password: Last login: Wed Jun 16 03:16:34 2021 -bash: /home/developer/py3venv/bin/activate: No such file or directory [developer@devbox ~]$
(venv) $ ssh admin@10.10.20.77 The authenticity of host '10.10.20.77 (10.10.20.77)' can't be established. ECDSA key fingerprint is SHA256:NJjIwkOahmiAjEBj7xyEqthJAy+zmJJRCQKa5yRWKpI. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '10.10.20.77' (ECDSA) to the list of known hosts. admin@10.10.20.77's password: Last login: Thu Sep 23 14:58:35 2021 Failed to log in 0 time(s) ise-1/admin#
11-10-2021 11:11 AM - edited 11-10-2021 11:14 AM
I have included my ISE 3.1 API, Ansible, and Automation Sandbox Lab Introduction video overview below.
If you only need to know how to enable the ISE REST APIs, see the Learning Lab Instructions for ISE REST APIs.
If you have never used this sandbox before or used ISE REST APIs, I highly recommend you first take the
An overview of using REST APIs, OpenAPIs, Postman, and Ansible for Automation with ISE. 6 Learning Labs / 2 Hours
ISE 3.1 API, Ansible, and Automation Sandbox Lab Introduction
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide