Technical Documentation

clear firewall

Syntax

clear firewall
<all>
<counter counter-name>
<filter filter-name>

Release Information

Command introduced in JUNOS Release 9.0 for EX Series switches.

Description

Clear statistics about configured firewall filters.

Options

none — Clear the packet and byte counts for all firewall filter counters and clear the packet counts for all policer counters.

all — (Optional) Clear the packet and byte counts for all firewall filter counters and clear the packet counts for all policer counters.

counter counter-name(Optional) Clear the packet and byte counts for the specified firewall filter counter.

filter filter-name(Optional) Clear the packet and byte counts for the specified firewall filter.

Required Privilege Level

clear

Sample Output

clear firewall (all)

user@host> clear firewall all

clear firewall (counter counter-name)

user@host> clear firewall counter port-filter-counter

clear firewall (filter filter-name)

user@host> clear firewall filter ingress-port-filter

Published: 2009-07-28