Forum Discussion

MarekS_111610's avatar
MarekS_111610
Icon for Nimbostratus rankNimbostratus
Jul 05, 2010

How to sync the configuration to peer from TMSH?

Hi

 

 

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

 

7 Replies

  • Hi Marek,

     

     

    From the tmsh reference guide under tmsh sys:

     

     

    https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/tmsh_reference_guide_10_2_0.html

     

     

    run config-sync

     

     

    options:

     

    pull

     

     

     

    Aaron
  • 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.
  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    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