How to sync the configuration to peer from TMSH?

Hi

Does anyone know how to sync the configuration to/from peer using TMSH?

Hi Marek,

From the tmsh reference guide under tmsh sys:

run config-sync

options:

pull

Aaron

thanks a lot! I’ve been searching that guide with configsync keyword

HI,

The command works in tmsh shell, but can i use it in a script? Is there something like tmsh::run to launch this command in a script?

Thkx,

NQ.

I use ‘b config sync all’.

The b/bigip commands are deprecated… They’ll not work for long, and there’s cool stuff that can’t really be done with them…

H

I think the most recent syntax is:

run sys config-sync

to run it right from the command line use:

tmsh run sys config-sync

If you are on TMOS v11 you will use the ‘cm’ module (replace the name of the device group accordingly, please) :

tmsh run cm config-sync to-group device-group-failover