clear firewall
Syntax
- clear firewall (all | counter counter-name | filter filter-name | logical-system logical-system-name)
Release Information
Command introduced before JUNOS Release 7.4.
The logical-system option introduced in JUNOS Release 9.3.
Description
Clear statistics about configured firewall filters.
![]() |
Note: The clear firewall command cannot be used to clear the Routing Engine filter counters on a backup Routing Engine that is enabled for GRES. |
Options
all — Clear the packet and byte counts for all filters.
counter counter-name — Clear the packet and byte counts for a filter counter that has been configured with the counter firewall filter action.
filter filter-name — Clear the packet and byte counts for the specified firewall filter.
logical-system logical-system-name — Clear the packet and byte counts for the specified logical system.
Required Privilege Level
clear
List of Sample Output
clear firewall allOutput Fields
When you enter this command, you are provided feedback on the status of your request.


