How to Migrate a Redirect applied to a Single Node on Cisco ACE to F5

Hello Guys,

I am trying migrated VIPs from Cisco ACE to F5 LTM. I have a redirect that is applied a single node in a pool as shown below. I need need to replicate this configuration on F5. Can someone help please.

Node Config:

rserver host websvr01 ip address 10.10.2.5 inservice

rserver host lwebsvr01 ip address 10.10.2.7 inservice webhost-redirection 302 inservice

Pool Config:

serverfarm host actprd probe actprd_probe rserver websvr01 9000 inservice rserver websvr01 9000 inservice

Virtual Server

class-map match-all L4_actprd 1 match virtual-address 10.105.2.1 tcp eq 9000

…Other configs left out

Thank you, Jay

If you can explain the functionality requirement, you may be able to get a better answer. This is a rough untested iRule:

when LB_SELECTED  {   
set SERVERIP [LB::server addr]
   if { $SERVERIP eq "10.10.2.7" } {
     HTTP::respond 302 Location "https://domain.com/"
} 
}