Forum Discussion
2 Replies
Sort By
Yes, you could use the
function. For more details on this see: https://devcentral.f5.com/wiki/iRules.ASM__enable.ashxASM::enable
Or, even better, you can also use an LTM policy to do this.
- Stanislas_Piro2Cumulonimbus
Hi,
Niels provided the code to change ASM policy within an iRule as you asked.
But the question is why don't you change the ASM policy in the LTM Policy which assigned the default ASM Policy?
You only have to create a new rule in this policy. This policy can also be used to change pool assignment...
iRules are really powerful, but always try with policies before writing irules.