Chapter 5
Packet Classification and Labelling
E-NIT-CTC-20041213-0013v0.5 31
5.1.1 Order of classification rules
Introduction The SpeedTouchâ„¢ will first check the routing rules and assign a routing-label when a
rule is hit. Secondly the packet will go through the QoS rules and a qos-label will be
assigned if a rule is hit. So each packet can get two labels assigned.
The figure below shows an example of the hierarchical order of classification rules:
Sub-chains In case sub-chains are linked within a chain, these sub-chains have an index and the
sub-chain rules are matched before the rules with the following index in the parent
chain.
!The order of the classification rules (determined by the rule index) is very
important. The first rule that applies to a packet determines which label will
be assigned to that packet. When a rule applies to a packet in the routing
classification, the rule matching process stops and the QoS classification
starts untill the first rule is hit and a label is assigned.
qos_user_labels
qos_default_labels
qos_user_rule_2
qos_user_rule_n
qos_default_rule_1
qos_default_rule_2
qos_default_rule_n
qos_user_rule_1
0
1
0
0
1
1
2
2
qos_user_chain_1
3
chain_rule
_1
chain_rule
_2
rt_user_labels
rt_default_labels
0
1
rt_user_rule_1
rt_user_rule_2
rt_default_rule_1
rt_default_rule_2
0
0
1
1

Routing classification

QoS classification

Routing parameters only apply to routing labels; QoS parameters only apply
to QoS labels