Forum Discussion
nikhil_raj_2965
Nimbostratus
Jul 23, 2018irule vs LTM policy
If I have an irule & an LTM policy configured on the same virtual server, which will be processed first
Regards
Nikhil
Andy_McGrath
Cumulonimbus
Jul 23, 2018Policies and profiles always execute before iRules for the same network layer.
For example we have policy to ensure iRules events are enabled as we have several iRules that do an
event disable all during select errors, to ensure we re-enable all the iRule event for the next HTTP request (multiplexed clientside connections) we use policies to run the TCL commend to event enable all. We can only do this as the Policies execute before our iRules.
However, your
CLIENT_ACCEPTED iRule event will execute before your HTTP profile or any Policy looking at the HTTP request as this is simply the order of events based on the F5 processing through the network layers.Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects