How to execute CLI command in action callback

I have a scenario,
Need to execute save running configuration in action call back of other CLI command.

How I can do that.

use load merge command followed by the file name where the running config is saved

Hi Sahnnu,

Thanks for the reply.
I’m not able to see any such command in my confd system.
My system is running with confd-6.4.3 version.


You can use function maapi_save_config to save configuration inside your callback function.