Forum Discussion
hooleylist
Nov 25, 2008Cirrostratus
Hi 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