ConfD User Community

How to execute CLI command in action callback


#1

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

How I can do that.


#2

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


#3

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.

Regards,
Suman


#4

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