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
countoption, enter the following JUNOS CLI operational mode command:user@host>show firewall filterfilter-nameSample Output 1
The following sample output shows the
icmpfilter incrementing:user@R1>show firewall filter icmpFilter: icmpCounters:Name Bytes Packetscount-icmp 252 3Sample Output 2
The following sample output shows a configuration of the
countoption:[edit]user@R1#show firewall filter icmpterm 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
icmpfilter and the filter had a count action applied to it.