Forum Discussion
Assign a Pool regarding to the Destination Port.
Hi Roger
If that is the case , the switch case would be too vague for you. If , else if statement suits you better I would say. Even a while command doesn't match your situation here.
Basically what we are doing here is checking if the port is in our interested port range A, then assign pool A or else if its equal to our desired port B, assign Pool B.
When both the conditions don't match, we don't want the LTM to process the request so we give a final result of drop for everything else. ( using an else statement ).
However lets see if we can get a better solution for this :) .
Cheers! Vikram (Vik )
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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