Forum Discussion
TMSH 11.4 syntax
That's not quite the problem I'm having. It's not that I'm trying to create a policy from the tmsh. I'm trying to add a policy to a virtual server. I've checked the 11.4.0 and 11.4.1 tmsh ref guide (35-59) and don't see a reference as to how to add a 'policy'. I've tried adding it with 'add profile ...' but it says it doesn't exist, and I've tried to add it with 'add policies ...' which is when I get the 'requires a profile of type websecurity...' message. If I go back and add it through the GUI, I see it listed in the 'policies {}' section with no change to the 'profiles {}' section so I'm thinking that this hasn't been fully implemented in tmsh yet. Also, I see that the documentation is wrong, because in 11.4.0 and 11.4.1 it still includes an http-class option in the virtual server section, but if you try to use it, tmos returns an error.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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