clear firewall
Syntax
Syntax (EX Series Switch)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
logical-system option introduced in Junos OS 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
Related Topics
List of Sample Output
clear firewall allOutput Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear firewall all
user@host> clear firewall all

