03-08-2022 09:26 PM
We are executing the API https://{{DNAC_IP}}/api/v1/network-device-archive/cleartext, and we are able to fetch the device configurations.
But the configurations fetched are the output of a device as if 'show running-configuration' is executed.
Is there a way for us to change the output so that we can get the output "show running-configuration all" instead, using said API?
Solved! Go to Solution.
03-25-2022 02:09 PM
Hello @vishal4567,
It seems the Export Device Configurations endpoint is pretty fixed on the output. There is also Get Device Config For All Devices, but that URL is much different than the one you're calling.
Here are some options which might help you:
You might also want to check out and see if anyone came up with a smoother way to do this:
https://developer.cisco.com/codeexchange/
03-25-2022 02:09 PM
Hello @vishal4567,
It seems the Export Device Configurations endpoint is pretty fixed on the output. There is also Get Device Config For All Devices, but that URL is much different than the one you're calling.
Here are some options which might help you:
You might also want to check out and see if anyone came up with a smoother way to do this:
https://developer.cisco.com/codeexchange/
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