- clear firewall (all | counter counter-name | filter filter-name | logical-system logical-system-name)
Command introduced before JUNOS Release 7.4.
The logical-system option introduced in JUNOS Release 9.3.
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. |
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.
clear
When you enter this command, you are provided feedback on the status of your request.