Chapter 5
Packet Classification and Labelling
E-NIT-CTC-20041213-0013 v0.5
42
5.3 Rules
Introduction
Rules are used to define two things:
The relation between the chains.
The criteria to check before assigning a label to a packet.
We will only discuss rules used to assign a label to a packet in this document.
Adding a selection rule
As mentioned before a label will only be assigned to a packet if this packet complies
to a certain rule. These rules have to be defined in the rule subgroup.
Execute the following CLI command to add a rule:
Example explained
This command adds a rule under the qos_user_labels named ftp with index 2.
This rule applies to data coming from the LAN interface with source address
10.0.0.1 and of the type FTP. Packets matching this rule will be labeled with the
label “mylabel”
If no index is specified the SpeedTouch™ will automatically use the next available
index number .
{Administrator}=>:label rule add chain=qos_user_labels index=2 name=ftp
srcintf=lan srcip=10.0.0.1 serv=ftp log=enabled state=enabled
label=mylabel
Summary of Contents for IPQoS
Page 2: ......
Page 3: ...SpeedTouch IPQoS Configuration Guide R5 3 0 ...
Page 8: ...Contents E NIT CTC 20041213 0013 v0 5 6 ...
Page 10: ...About this IPQoS Configuration Guide E NIT CTC 20041213 0013 v0 5 8 ...
Page 12: ...Chapter 1 Document scope E NIT CTC 20041213 0013 v0 5 10 ...
Page 116: ...Chapter 8 Scenario 2 Business user with TOS marking E NIT CTC 20041213 0013 v0 5 114 ...
Page 120: ...Reference List E NIT CTC 20041213 0013 v0 5 118 ...
Page 122: ...Abreviation List E NIT CTC 20041213 0013 v0 5 120 ...
Page 123: ......