04-02-2022 11:15 PM
Hello,
I executed the following commands to activate the restapi on Cisco CSR.
But I CSR threw the following error.
% Virtual service csr_mgmt install has not completed, please activate the VM after install is completed
How to fix this?
Thanks,
Sachin
04-03-2022 10:10 AM
not sure what you are trying here ? if you installing virtual service
then look at this document :
if that is not the case explain more about your issue ?
04-13-2022 02:51 PM
What he is trying to do is the same thing I am doing.
I am trying to connect to my CSR1000 (hosted in AWS) via APIs using postman to enable I did the following:
CSR1000(config)#ip HTTP secure-server
CSR1000(config)#restconf
CSR1000(config)#netconf-yang
CSR1000(config)#ip HTTP authentication aaa
CSR1000#sh run | se remote-management
remote-management
restful-api autosave 60 local-port 443
CSR1000(config)#virtual-service csr_mgmt
CSR1000(config-virt-serv)#no activate
CSR1000(config-virt-serv)#ip shared host-interface GigabitEthernet3
CSR1000(config-virt-serv)#activate
% Virtual service csr_mgmt install has not completed, please activate the VM after install is completed
When I hit the command activate, the output is the one above, which is something I don't understand why it is happening.
on the other hand, when I tried to access via the browser the router in question, it did let me in, but when I tried the following get from POSTMAN the result was 404 Not Found:
GET
https://<ipaddress>:443/resconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet1
11-24-2022 10:19 AM - edited 11-24-2022 10:24 AM
I have the same issue, supprised there is no answer yet to this one see;
https://forum.networklessons.com/t/introduction-to-rest-api/8357/18
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