Operation Manual
252
Label Commands
E-DOC-CTC-20040210-0030 v1.0
label rule clear
Clear statistics for a given rule or all the rules.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:
label rule clear [chain = <string>]
[index = <number>]
chain The name of the chain in which the rule is to be found.
Note If this parameter is not specified, the statistics for all the
rules in all chains will be cleared.
OPTIONAL
index The index number (determined by the position) of the rule in the
chain.
OPTIONAL
=>label rule stats chain=user_labels index=2
Chain , index 2, packets 41, bytes 2722
=>label rule clear chain=user_labels index=2
=>label rule stats chain=user_labels index=2
Chain , index 2, packets 0, bytes 0
=>
label rule create Create a rule.
label rule delete Delete a specified rule in a chain.
label rule flush Delete all rules in a chain.
label rule list Show a list of all (or a specified) chains' rules.
label rule stats Show statistics for all (or a specified) chains' rules.