5.4 Chains
Introduction
Adding a chain
List the chains
E-NIT-CTC-20041213-0013 v0.5
A chain or sub-chain can be useful for personal ordering or grouping but is not
necessary. You can also place the rules in the _user_labels chain.
The following default chains will be configured:
Routing_Labels: chain for routing label rules; if there is a match in this chain (or
it's subchains), the corresponding label is used as stream routing label.
rt_user_labels: subchain of Routing_Labels for all user added label rules;
overrules auto-routing-label-rules.
rt_default_labels: subchain of Routing_Labels for default routing label rule; will
be overruled by auto-routing-label-rules.
QoS_Labels: chain for QoS label rules; if there is a match in this chain or it's
subchains, the corresponding label is used as stream qos label.
qos_user_labels: subchain of QoS_Labels for user added label rules; overrules
auto-qos-label-rules
qos_default_labels: subchain of QoS_Labels for default QoS label rules; will be
overruled by auto-qos-label-rules
As seen before in
"5.1.1 Order of classification rules"
wanted.
Execute the following CLI command to add a chain:
{Administrator}=>:label chain add chain my_chain
Where my_chain is the name of the chain you want to add.
Execute the following CLI command to see a list of all the chains:
{Administrator}=>:label chain list
This command will return you all chains defined:
Chains
======
Name
-----------------------------------------------------------------
routing_labels
rt_user_labels
rt_default_labels
qos_labels
qos_user_labels
qos_default_labels
my_chain
Chapter 5
Packet Classification and Labelling
chains can be added as
Description
system
user
user
system
user
user
user
49
Need help?
Do you have a question about the IPQoS and is the answer not in the manual?
Questions and answers