Forum Discussion
biv_59618
Nimbostratus
Dec 08, 2017Applying 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...
biv_59618
Nimbostratus
Dec 08, 2017So I have figured out I need to create the LTM policy first, through TMS this has been troublesome, if anyone can help me with the nested syntax, it has gotten very nested and just looking for a little help. This is the end result I am aiming for:
ltm policy asm_auto_l7_test.com {
controls { asm }
requires { http }
rules {
default {
actions {
1 {
asm
enable
policy /Common/WAF
}
}
ordinal 1
}
}
status legacy
strategy first-match
}
This is what I got but tripping up on the nested for rules subset
create ltm policy test1 controls add {asm} requires add {http} rules add {defualt {ordinal 1{} actions add{1{policy /Common/WAF}}}}
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