Forum Discussion
Kalpesh_48932
Nimbostratus
Jun 04, 2014how to use irule to customize use of persistence profile
Hello All,
I want to use irule to allocate persistence profile for some subnets and have to exclude some subnets.
can you please suggest how i can use switch command for this?
when CLI...
Brad_10504
Nimbostratus
Jun 04, 2014You would just have to use the string rule, as IP::client_addr is a string value, so you could make the rules like
when CLIENT_ACCEPTED {
switch -glob [IP::client_addr] {
"10.124.124.*" -
"10.124.123.*" { persist none }
default { persist source_addr }
}
}
I'm really not a pro at this, but this is the way that I do it.
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