LTM policy to route traffic to different pools

I have requirement of sending traffic to different pools based on port information . I understand we can do this with iRukes. But I would like to try LTM policies. What rules should we give? Would one policy and separate rules for each pool be good

hiw should the policy be? Does it need a URL mentionined in policy

thank you

Hi,
For a good start, read the K article below :
K15097: Using the Local Traffic Policies feature to load balance HTTP requests to multiple pools

Regards

Hi  @InquisitiveMai  , 
    I do not know your virtual server configuration , but you can try an LTM Policy like attached snap shot :

> Create a multiple Rules inside this Policy until you finish all of your needed Port and Pools Possibilities

Regards 
Mohamed Kansoh

Thank you for sharing this link. I am trying to figure out how to route the traffic to different pools based on ip adddress and pool. The VIP is going to be with ip address and port 0. Once the traffic comes based on the port number it needs to go to the correct pool. is there any document which would help with LTM policy which differentiates based on port?  It can be the port over https or a direct port .

Hi  @InquisitiveMai  , 
       you can configure like this LTM Policy in below solution check it :

https://community.f5.com/t5/technical-forum/multiple-ports-in-a-single-health-monitor-and-ltm-policy-to-send/m-p/303876#M263047
But specify your Port exactly in rule conditions.
> you do not need the urls information , you can loadbalance based on port numbers.

Ty

Hi

you can make many different virtual server(same virtual address) based on different virtual server port

if you want to external network traffic divide as port

you just make performanceL4 type virtual server and then binding external vlan

and set up the pool

if you want to just forwarding this traffic, you just turn off address,port translate option

and  then turn off icmp echo, arp reply option at virtual address tap

thank you

was your question answered @InquisitiveMai ? if so please flag it as such.