05-May-2020 05:38
I have command-line only access to my F5. A URL redirect policy was created. I would like to apply it to a VIP but cannot find the syntax anywhere. I've read multiple articles on creating the policy and even tmsh manuals but nothing shows me how to associate the policy to a virtual except via the GUI. Is this only available via the GUI?
Product BIG-IP
Version 12.1.3.5
Solved! Go to Solution.
05-May-2020 06:43
Try below command to add & remove policy via CLI
Add Policy:
tmsh modify ltm virtual <virtual_Name> policies add {policy_name}
Remove Policy
tmsh modify ltm virtual <virtual_Name> policies delete {policy_name}
05-May-2020 06:43
Try below command to add & remove policy via CLI
Add Policy:
tmsh modify ltm virtual <virtual_Name> policies add {policy_name}
Remove Policy
tmsh modify ltm virtual <virtual_Name> policies delete {policy_name}
05-May-2020 07:00
So simple, I should have tried it. I am a little embarrassed. Thank you!!!!