Forum Discussion
ancanada_4516
Mar 01, 2007Historic F5 Account
v9 irule to v4 conversion
Hi,
We did de irule below in v9, but we have to deploy it also in v4 boxes. I this that universal persistance is not supported in v.4. Can you advice to re-create it in v.4?
Thanks,
AC
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
set num [expr int(rand()*1000)]
set str "[TCP::payload ]"
if { $str contains "AAA" } {
set num [ findstr "$str" "AAA:" 7 \n ]
}
persist uie $num 300
TCP::release
}
1 Reply
- Martin_MachacekHistoric F5 AccountAntonio,
it is unfortunately not possible to re-create the rule in v4. The missing functionality is the random number generation. Otherwise universal persistence is available in v4 in a limited form (compared to v9), for example you cannot use conditionals (if .. then) in persistence expressions. Please refer to the BIG-IP Reference Guide for details.
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