I'm trying to find a way to mass delete a couple of rules from the CLI. Is there a way to do this?
I know you can run something like:
> show running security-policy | match Minemeld|MineMeld
But I have not found a way to actually remove one of the matches the command above returns.
that command will show you the policy in data plane. You can't delete them.
You can go to config mode as below and display the rules and then use delete command to delete rules.
For copying and pasting more commands, use "scripting-mode" cli command.
>set cli config-output-format set >configure #show rulebase security
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!