Operation Manual
259
Label Commands
E-DOC-CTC-20040210-0030 v1.0
label rule stats
Show statistics.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:
label rule stats [chain = <string>]
[index = <number>]
chain The name of the chain for which the statistics must be listed.
If this parameter is not specified, the statistics for the rules
applicable to all chains are shown.
OPTIONAL
index The index number of the rule for which the statistics must be listed.
Note Use the command label rule list first to determine the
index number of the applicable rule.
If this parameter is not specified, the statistics for all rules applicable
to the specified chain are shown.
OPTIONAL
=>label rule stats
Chain user_labels, index 0, packets 25, bytes 3585
Chain user_labels, index 1, packets 0, bytes 0
Chain user_labels, index 2, packets 0, bytes 0
Chain user_labels, index 3, packets 0, bytes 0
Chain user_labels, index 4, packets 0, bytes 0
Chain user_labels, index 5, packets 0, bytes 0
Chain user_labels, index 6, packets 41, bytes 2722
Chain user_labels, index 7, packets 0, bytes 0
Chain user_labels, index 8, packets 0, bytes 0
Chain user_labels, index 9, packets 0, bytes 0
Chain user_labels, index 10, packets 0, bytes 0
Chain _auto_labels, index 0, packets 10, bytes 440
=>label rule stats chain=user_labels index=6
Chain , index 6, packets 41, bytes 2722
=>
label rule clear Clear statistics for a given rule.
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.