beautypg.com

Label rule debug stats, Label commands, Syntax – Technicolor - Thomson ST585 V6 User Manual

Page 530: Example: related commands

background image

E-DOC-CTC-20061027-0004 v1.0

Label Commands

506

label rule debug stats

Display the label rule statistics.

SYNTAX:

where:

EXAMPLE:

RELATED COMMANDS:

label rule debug stats

[chain = ]
[index = ]

chain

The name of the chain for which the statistics must be shown.

Note

If 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
shown.

Tip

Use the command

:label rule list to obtain the

index number of the applicable rule.

Note

If not specified, the statistics for all rules applicable to
the specified chain are shown.

OPTIONAL

=>label rule debug stats chain=qos_labels
chain

index

packets

bytes

------------------------------------------------------------
qos_labels

1

0

0

2

167

15690

=>
=>label rule debug stats chain=qos_default_labels index=20
chain

index

packets

bytes

------------------------------------------------------------
qos_default_labels

19

165

16421

=>

label rule debug clear

Clear the label rule statistics.