User Guide

8 Firewall Commands
139 / 260
3EC 16982 AFAA TCZZA Ed. 01
firewall rule clear
Clear statistics for a given rule.
SYNTAX:
firewall rule clear [chain = <string>]
[index = <number>]
[chain] The name of the chain in which the rule is to be found. OPTIONAL
[index] The index number (determined by the position) of the rule in the
chain
OPTIONAL
EXAMPLE:
=>firewall rule stats
Chain Telnet, index 0, packets 0, bytes 0
Chain Telnet, index 1, packets 0, bytes 0
Chain Telnet, index 2, packets 0, bytes 0
Chain source, index 0, packets 203, bytes 15229
Chain source, index 1, packets 0, bytes 0
Chain source, index 2, packets 0, bytes 0
Chain forward,index 0, packets 0, bytes 0
Chain sink, index0, packets 202, bytes 10159
Chain sink, index1, packets 0, bytes 0
Chain sink, index2, packets 0, bytes 0
=>firewall rule clear chain=source index=0
=>firewall rule stats
Chain Telnet, index 0, packets 0, bytes 0
Chain Telnet, index 1, packets 0, bytes 0
Chain Telnet, index 2, packets 0, bytes 0
Chain source, index 0, packets 11, bytes 559
Chain source, index 1, packets 0, bytes 0
Chain source, index 2, packets 0, bytes 0
Chain forward,index 0, packets 0, bytes 0
Chain sink, index0, packets 409, bytes 21535
Chain sink, index1, packets 0, bytes 0
Chain sink, index2, packets 0, bytes 0
=>
RELATED COMMANDS:
firewall rule create Create a rule.
firewall rule delete Delete a specified rule in a chain.
firewall rule flush Delete all rules in a chain.
firewall rule list Show a list of all (or a specified) chains' rules.
firewall rule stats Show statistics for all (or a specified) chains' rules.