Label Commands
label rule stats
Show statistics.
SYNTAX:
label rule stats
where:
chain
The name of the chain for which the statistics must be listed.
Note
index
The index number of the rule for which the statistics must be listed.
Tip
Note
EXAMPLE:
=>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
=>
RELATED COMMANDS:
label rule clear
242
[chain = <string>]
[index = <number>]
If not specified, the statistics for the rules applicable to all chains are shown.
Use the command :label rule list to obtain the index number of the rule.
If not specified, the statistics for all rules applicable to the specified chain are
shown.
Clear statistics for a given rule or all the rules.
OPTIONAL
OPTIONAL
E-DOC-CTC-20040907-0010 v1.0