State, Label, Modifying a rule – RCA THOMSON SpeedTouchTM (Wireless) Business DSL Router User Manual
Page 47: The list command, Chapter 5
Chapter 5
Packet Classification and Labelling
E-NIT-CTC-20041213-0013 v0.5
45
Log
State
Label
Modifying a rule
Rules that have been created can be modified with the
modify
command. The
parameters for the modify command are exactly the same as those for the
add
command.
The list command
The
list
command can be used to view a list of the rules created. This command can
be refined with the following parameters:
chain
format.
With the
chain
suffix a chain name can be specified, so only the rules that apply to
that chain will be shown.
With the
format
suffix we can select the output format. The default format is
pretty
,
the other option is
cli
Example. Execute the following CLI command to view the rules that are related to
the chain qos_default_labels:
Log values
Description
enable
Enables logging when this rule applies. This can be
used for debugging.
disable
Disables logging
State values
Description
enable
Enables this rule.
disable
Disables this rule.
Label value
Description
none
If no label needs to be assigned.
link
Link is used incase the clink parameter is used.
label name
The name of the label you want to assign to a packet
when the rule applies.
{Administrator}=>:label rule list chain=qos_default_labels format=cli