Forum Discussion

rodolfosalgado_'s avatar
rodolfosalgado_
Icon for Altostratus rankAltostratus
Jul 15, 2016

How to remove ASM policy from VS ?

What is the command that I can use to remove an ASM policy from a Virtual server ? I tried to use

tmsh modify ltm virtual VIRTUALSERVER profiles delete { POLICYNAME }

But doesn't delete, I also tried to delete all profiles but then I get the error saying that it can't delete the http profile due the ASM profile.

tmsh modify ltm virtual VIRTUALSERVER profiles none

010716d9:3: Virtual server VIRTUALSERVER requires a profile of type http for ltm policy /epayus/asm_auto_l7_policy__POLICYNAME.

I also tried to delete using the asm_auto_i7_policy__POLICYNAME but it also doesn't accept... Any ideas ?

Thanks in advance, Rodolfo

1 Reply

  • Hi, If you want to remove an LTM policy that calls the ASM, try this:

    modify ltm virtual VIRTUALSERVER policies none

    or

    modify ltm virtual VIRTUALSERVER policies delete  { POLICYNAME }

    I hope it helps.