Forum Discussion
biv_59618
Dec 08, 2017Nimbostratus
Applying Auto ASM Policy via TMSH
What I am trying to do is
enable ASM profile add an ASM policy which is configured for Autopolicy
When done through the GUI it looks like this is the config. This is what I am trying to achiev...
mjb109
Nimbostratus
Old thread, but I just had this same problem, and this works on 13.1.3. Think you just need to add the "asm enable" before your final policy statement
create /ltm policy '/Common/Drafts/asm_auto_l7_policy__MY-VIRTUAL' controls add { asm } requires add {http} rules add { default { ordinal 1 actions add { 1 { asm enable policy /Common/MY-WAF-POLICY } } } }
Jeff_Faelnar
Jan 05, 2021Nimbostratus
I get error '01020036:3: The requested policy action (/Common/asm_auto_l7_policy__MY-VIRTUAL) was not found.' on Version 15.1.0.5. Is there an updated command for this? Thanks!
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects