Hi,
I have opened the Netconf option to communicate with my confd.
I can do get and set of configuration.
But when running copy-config from running to startup this command it will say it is successful BUT the configuration is not updated…
But when you check startup config - no updates there.
When i run CLI command with same credentials on same confd it will work (copy running-config startup-config)
please can you describe how do you check content of startup config? Did you try to invoke copy-config via NETCONF and check with CLI (show startup-config) if it is present?
I tried a simple test and I was able to copy configuration from running to startup without problems. I found I had to enable both the startup datastore and startup capability in confd.conf. Did you do both of these steps?
You might try to also test the result via NETCONF by doing a get-config or get on the startup datastore for what you thought should have been copied. I did the but checked via CLI, but possibly your NETCONF request went to a different device?
Hi Greg,
Yes , i was checking “show startup-config” from CLI , and the change was not there.
But when running the copy command from CLI and then running the “show startup-config”, changes were there.
Also , “startup” capability is enabled both in general section and in netconf section
<datastores> <!-- 'startup' means that the system keeps separate running and startup configuration databases. When the system reboots for whatever reason, the running config database is lost, and the startup is read. Enable this only if your system uses a separate startup and running database. --> <startup> <enabled>true</enabled> </startup>
and under netconf section is have this : <!-- enable only if /confdConfig/datastores/startup is enabled --> <startup> <enabled>true</enabled> </startup>
Hi ,
Yes , i was checking “show startup-config” from CLI , and the change was not there.
But when running the copy command from CLI and then running the “show startup-config”, changes were there.