Forum Discussion

Steven_J__Willi's avatar
Steven_J__Willi
Icon for Nimbostratus rankNimbostratus
Aug 05, 2014

create multiple VIPs with CLI

Is there a way to create VIPs without clicking through the gui 24 times if I need to create 24 vips? Article on how to do this with examples?

 

thanks.

 

2 Replies

  • not sure if this is useful.

    e.g.

    root@(B6900-R69-S40)(cfg-sync Standalone)(Active)(/Common)(tmos) create ltm virtual bar destination 100.100.100.41:80 pool foo profiles add { http } source-address-translation { type automap }
    
    root@(B6900-R69-S40)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm virtual bar
    ltm virtual bar {
        destination 100.100.100.41:80
        ip-protocol tcp
        mask 255.255.255.255
        pool foo
        profiles {
            http { }
            tcp { }
        }
        source 0.0.0.0/0
        source-address-translation {
            type automap
        }
        vs-index 3
    }
    
  • Using CLI is the best bet, commands will depend on the version you are running, Bigpipe or tmsh.