Join the Conversation

To sign in, use your existing MySonicWall account. To create a free MySonicWall account click "Register".


Firewall Rule Hit Count

We have a lot of rules in our Sonicwall NSA 5650 which has built up over the years and we need to start cleaning it up. But i see no column or clear way to get a 'hit count' of every rule, as is want to sort the rules by ones that have not been used in the past week, Month or year. I can mouse over each rule where i can get "Time last hit" etc but mousing over each one is going to take ages.

I assume there might be some way to do this through the CLI, if so is there a way to make a scheduled report every half year or so? We also have Sonicwall Analyzer but i havent found the feature im looking for there either.

Any tips are appreciated!

Category: Firewall Management and Analytics

Best Answer

  • Options
    BWCBWC Cybersecurity Overlord ✭✭✭
    Answer ✓

    Hi @Joakim

    ssh into your NSA and fire up this command, it'll do the trick:

    show access-rules statistics custom

    If you get annoyed by the pagination just call:

    no cli pager session
    no cli pager default

    Hope this is what you're looking for


Sign In or Register to comment.