Forum Discussion
Joe_Curl_105786
Nimbostratus
Oct 25, 2013Best Option
I have an application that needs me to select a pool based on the TCP port that it connects to the F5 on. (Server Port or Local Port) The number of ports that need to be tracked for each server can...
Kevin_Stewart
Employee
Oct 25, 2013You don't have to use a switch command with a data group:
when HTTP_REQUEST {
if { [class match [TCP::local_port] equals my_dg] } {
pool [class match -value [TCP::local_port] equals my_dg]
}
}
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