Forum Discussion
JG_249184
Altocumulus
Apr 04, 2016Looking for best practices on creating iRules for pool members redirection
Hi,
I am new to F5 BIG-IP LTM and creating iRules. I came from the Citrix Netscaler world. Creating redirect policies seemed to be a lot easier on the Netscaler when using their content switchin...
Josiah_39459
Apr 04, 2016Historic F5 Account
Yes, using the switch command is much more efficient. You might also look at the http class profile which allows you to assign pools based on uris without an irule.
https://devcentral.f5.com/wiki/iRules.switch.ashx
Josiah_39459
Apr 04, 2016Historic F5 Account
Yeah, the switch command can use pattern matching. Even some of the examples at the link I posted do this: "/uri/for/pool2/*" {
log local0. "Matched pool 2 paths for [HTTP::uri]"
pool pool2
}
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