beautypg.com

4 chains, Introduction, Adding a chain – RCA THOMSON SpeedTouchTM (Wireless) Business DSL Router User Manual

Page 51: List the chains, Chains, 4 chains 49, Chapter 5

background image

Chapter 5

Packet Classification and Labelling

E-NIT-CTC-20041213-0013 v0.5

49

5.4 Chains

Introduction

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

Adding a chain

As seen before in

“5.1.1 Order of classification rules”

chains can be added as

wanted.
Execute the following CLI command to add a chain:

Where my_chain is the name of the chain you want to add.

List the chains

Execute the following CLI command to see a list of all the chains:

This command will return you all chains defined:

{Administrator}=>:label chain add chain my_chain

{Administrator}=>:label chain list

Chains
======
Name Description
-----------------------------------------------------------------
routing_labels system
rt_user_labels user
rt_default_labels user
qos_labels system
qos_user_labels user
qos_default_labels user
my_chain user