Forum Discussion

Chris_Olson's avatar
Chris_Olson
Icon for Nimbostratus rankNimbostratus
May 05, 2020

CLI command to associate URL redirect policy to VIP on LTM

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 ...
  • Samir's avatar
    May 05, 2020

    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}