cancel
Showing results for 
Search instead for 
Did you mean: 

irule enabling and disabling via bash or cli or powershell

Meganathan
Nimbostratus
Nimbostratus

We have a f5 BIG-IP VE version 11.6 during deployment we go to Traffic Manager-->virtual server--> manage irule and move an irule "iRule_maintenance" from available to enabled. After deployment do the reverse process. I want to automate this part via scripting via bash or cmd line or powershell.

2 REPLIES 2

Samir
Nacreous
Nacreous

Keeping iRule_maintenance will not make any issue if you have valid condition written. However it will help during maintenance. But you can change the order of maintenance irule.

 

If you are looking to add & remove irule from VIP. Then refer devcentral article and customize based on requirement.

 

Link: https://devcentral.f5.com/s/question/0D51T00006i7Y7R/add-irule-via-tmsh-without-deleting-existing-ir...

 

Thanks,

Meganathan
Nimbostratus
Nimbostratus

sorry for the late response. I am not familar with bash script, I see that powershell is supported by f5 any help on that front would be helpful.

f5 has 2 powershell things pssnapin and powershell f5 rest method, which method is suitable for my requirements?

detailed documentation link would be helpful with preferably some examples