Forum Discussion
bhs_114985
Jun 14, 2018Historic F5 Account
Hi Filip,
Trying to use the scripts but hitting a weird syntax error. A colleague also tried this and is hitting the same thing. The save command works as expected and creates the backup file. In this case it's "Hackazon-WAF.xml".
The load command produces the following error:
[admin@ip-10-1-1-8:Active:Standalone] tmp for i in $(find . -name '*xml'); do echo ${i}; tmsh load asm $(echo ${i} | sed 's/\.xml//') xml-file ${i}; tmsh modify asm policy $(echo ${i} | sed 's/\.xml//') enable; done
./Hackazon-WAF.xml Syntax Error: "./Hackazon-WAF" unexpected argument Syntax Error: "enable" unknown property
Do you have any suggestions for us?
Thanks,
BHS