irule to a Persistent pool

How do I setup a Persistent connection(use Persistent pool) in an iRule?

e.g.

when CLIENT_ACCEPTED {

if { [TCP::local_port] equals 23}{

pool HGC_Persistent_GW

}

}

I need all port23 services to go to this pool Persistently.

Thanks

Hi Michael,

You would create a persistent profile. I not exactly which version of the LTM you are using, but Click here to see some instructions.

I hope this helps

Bhattman