Forum Discussion
Philip_King_719
Nimbostratus
Feb 26, 2014Using irule to set persistence profile
We are running LTM v11.2.1 on 4200 devices.
I currently have a source address persistence profile set for all traffic going through one of my virtual servers. I have been asked to find a way to ...
mikeshimkus_111
Feb 26, 2014Historic F5 Account
A complete iRule would look like:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
/myuri { persist source_addr }
}
}
Or:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "myuri" } {
persist source_addr
}
}
- dradiant_306130Apr 27, 2017
Nimbostratus
How long would the persist source_addr last? Is there a way to add a timeout value to the persistence?
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