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

CSR 1000v rejecting all REST CALLS by returning 404 Not Found

sunnypalsingh
Level 1
Level 1

Hi Team,

Goal:

To bootup CSR1000v VM and be able to make REST API Calls via management interface.

Current Situation:

I was able to instantiate the VM and enabled the management interface. But all my REST API calls are getting a 404 Not Found response from nginx.

Looking at virtual-service csr_mgmt, it shows me REST API is disabled. I enabled that too on port 55443 usin remote-management, did not change the result. Same 404 Response on Port 443. Port 55443 is not even responding

Questions.

1. Why is nginx responding when I have not even enabled REST API?

2. When I enable REST API on 55443, why do I not get any response.

3. What additional configuration is needed to fix this.

Attaching the initial configuration which I have used. Also attaching my REST API outputs

Best Regards

1 Reply 1

ahakels
Level 1
Level 1

When you deploy the 1000v have you enabled the REST API:

Please check with the below config guide:

http://www.cisco.com/c/en/us/td/docs/routers/csr1000/software/configuration/b_CSR1000v_Configuration_Guide/b_CSR1000v_Configuration_Guide_chapter_01101.html#topic_r5d_kbk_vx

Also can you look at the following :

http://www.cisco.com/c/en/us/td/docs/routers/csr1000/software/restapi/restapi/RESTAPIprelim.html

I hope this can help

Review Cisco Networking products for a $25 gift card