Forum Discussion
DEJ
Apr 23, 2015Nimbostratus
Hello,
I'm unsure if you're requesting assistance in creating an actual script or to simply configure via CLI. Below is a very basic template for configuring via CLI. I would advise if you are unfamiliar with using tmsh in creating VIPs to create basic ones via CLI and then make adjustments via the GUI (or just create everything in GUI). You can then see the configuration of the new changes in CLI. If the VIP is being NATed, the destination IP would be the real IP.
Edge F5 with default tcp health check
create ltm pool POOL-80 members add { 10.x.x.x1:80 10.x.x.x2:80 } monitor tcp
create ltm pool POOL-10001 members add { 10.x.x.x1:10001 10.x.x.x2:10001} monitor tcp
create ltm virtual VS-80 destination 206.x.x.x:80 pool POOL-80 vlans add { EXTERNAL-VLAN }
create ltm virtual VS-443 destination 206.x.x.x:443 pool POOL-10001 vlans add { EXTERNAL-VLAN }