- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-19-2017 10:32 AM
Is there a CLI command to show total count of rules disabled for policies versus having to count them one by one?
01-19-2017 10:46 AM
The following CLI command will approximate what you want:
show config running | match "disabled yes"
Note that this will be all rules that are disabled, not just security policy. If you want to check just the security policies, you'll want to save the running config xml from the firewall and just search that section (with grep or a text editor).
01-19-2017 10:46 AM
The following CLI command will approximate what you want:
show config running | match "disabled yes"
Note that this will be all rules that are disabled, not just security policy. If you want to check just the security policies, you'll want to save the running config xml from the firewall and just search that section (with grep or a text editor).
09-06-2023 07:54 AM
This output is not really clear to understand.
09-06-2023 06:55 PM
If you don't mind to use GUI, I believe it is easier than CLI.
Enter filter, then count the number of rules. Note that you need to decrease 2 rules from output. It always contains 2 default rules.
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!