Forum Discussion

masterodeat's avatar
masterodeat
Icon for Nimbostratus rankNimbostratus
Nov 10, 2015

curl sync command with overwrite option

Hi,

 

I have a working implementation of a sync command in curl that i gleaned from another post, but what i really need in the context of our setup is to know the operator for the 'overwrite' config option. My sync command is already preceded with a check for which LTM is active so i want to force sync with the standby peer.

 

Current curl command I use is: curl -sk -u admin:admin -H "Content-Type: application/json" -X POST -d '{"command":"run","utilCmdArgs":"config-sync to-group pair-group-name"}'

 

Anyone able to point me in the right direction?