[an error occurred while processing this directive] [an error occurred while processing this directive]

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-nameClear the packet and byte counts for a filter counter that has been configured with the counter firewall filter action.

filter filter-nameClear the packet and byte counts for the specified firewall filter.

logical-system logical-system-nameClear the packet and byte counts for the specified logical system.

Required Privilege Level

clear

List of Sample Output

clear firewall all

Output 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

Published: 2009-07-16

[an error occurred while processing this directive]