Forum Discussion

Sujeet_Singh_34's avatar
Sujeet_Singh_34
Icon for Nimbostratus rankNimbostratus
Jan 17, 2018

Simple Script to enable and Disable multiple VIPs through TMOS CLI

Hello folks,

 

I have been assigned some automation task to enable BIG-IP Virtual Servers/Node in our production system, but I am very new for scripting and want to learn the scripting for BIG IP. What is the best source and computer language to learn and work on BIG IP system. For example we have our DR testing in which we have to disable VIPs in Production and enable VIP in DR side at the same time.

 

Prod Side:- VIP-1 IP 172.17.76.10 VIP-2 IP 172.17.76.11 VIP-3 IP 172.17.76.12

 

DR Side:- VIP-1 172.22.76.10 VIP-2 IP 172.22.76.11 VIP-3 IP 172.22.76.12

 

I can access the BIG IP command line utility with Admin right.

 

Please help me on that.

 

Thanks in Advance.

 

1 Reply

  • The configuration shell for such need is TMSH! Look at tmsh reference guide for your version.

     

    To do such changes, look at transaction feature