Forum Discussion
For_saken_9071
Nimbostratus
Nov 25, 2008Local Port Irule - Requires Ip Persistence
Hi All,
I have the below config that is running fine though I now want to specify different IP Persistence for each of the below pools. Currently I have set on the VIP a Persistence of 3600s...
hoolio
Cirrostratus
Nov 25, 2008Hi there,
You could the if/elseif structure to a switch and then use the persist command (Click here😞
when CLIENT_ACCEPTED {
switch [TCP::local_port] {
"80" {
pool pool-testtesttest-sotl
persist source_addr 255.255.255.255 3600
}
"17024" {
pool pool-anothertest-sotl
persist source_addr 255.255.255.255 120
}
"19012" {
pool pool-extratest-sotl
persist source_addr 255.255.255.255 240
}
default {
Take some default action?
}
}
}
Aaron
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