[Contents] [Prev] [Next] [Index] [Report an Error]


Step 3: Show Packet Count When a Firewall Filter Is Configured with the Count Option

Action

To show the packet count when a firewall filter is configured with the count option, enter the following JUNOS CLI operational mode command:

user@host> show firewall filter filter-name

Sample Output 1

The following sample output shows the icmp filter incrementing:

user@R1> show firewall filter icmp
Filter: icmp
Counters:
Name                                                Bytes              Packets
count-icmp                                            252                    3

Sample Output 2

The following sample output shows a configuration of the count option:

[edit]
user@R1# show firewall filter icmp
term a {
    from {
        protocol icmp;
    }
    then count count-icmp;
}
term b {
    then accept;
}

What It Means

The sample output shows that the packet matched a criteria in the icmp filter and the filter had a count action applied to it.


[Contents] [Prev] [Next] [Index] [Report an Error]