1 define a relation between chains, Introduction, Define a relation between chains – RCA THOMSON SpeedTouchTM (Wireless) Business DSL Router User Manual

Page 53

Advertising
background image

Chapter 5

Packet Classification and Labelling

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

51

5.4.1 Define a relation between chains

Introduction

If sub-chains are created manualy they need to be linked to a parent chain, this can
be done as follows.
Execute the following CLI command to define the relation ship between the

my_chain

chain and the

qos_user_labels chain

:

This will add a link between the user chain my_chain and the qos_user_labels.
The chain structure now looks like this:

{Administrator}=>:label rule add chain=qos_user_labels index=1
clink=my_chain label=link

1

2

3

1

2

1

qos_labels

qos_user_labels

my_chain

rule_1

rule_2

1

2

3

4

5

qos_default_labels

rule_1

rule_2

rule_3

rule_4

rule_5

Advertising