I am looking for an way to delete all unused rules.
On CLI, I can list all unused rules:
> show running rule-use rule-base security type unused vsys vsys1
After that may it is possible to delete the rules from it.
Process the Delete statements in Excel with the output from your Show command. Even if you want to do something more automated than that, the rules still need human intervention/evaluation to insure they are not rules that will hit traffic only a few times per year like during a DR...
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!