Technical data
4. Packages
Three subclasses of our parent class above where QOS_CLASS_x_MINBANDWIDTH- and QOS_-
CLASS_x_MAXBANDWIDTH settings look like this:
QOS_CLASS_2_PARENT='1'
QOS_CLASS_2_MINBANDWIDTH='60Kibit/s'
QOS_CLASS_2_MAXBANDWIDTH='128Kibit/s'
QOS_CLASS_3_PARENT='1'
QOS_CLASS_3_MINBANDWIDTH='40Kibit/s'
QOS_CLASS_3_MAXBANDWIDTH='128Kibit/s'
QOS_CLASS_4_PARENT='1'
QOS_CLASS_4_MINBANDWIDTH='28Kibit/s'
QOS_CLASS_4_MAXBANDWIDTH='128Kibit/s'
All subclasses have the same (or no) priority (see QOS_CLASS_x_PRIO). If traffic on all sub-
classes exceeds their QOS_CLASS_x_MINBANDWIDTH they all get QOS_CLASS_x_MINBANDWIDTH
allocated. If class 2 has only 20Kibit/s traffic there are 40Kibit/s “left”. This overrun
will be split in 40/28 ratio between class 3 and 4. Each class is limited to 128Kibit/s by
QOS_CLASS_x_MAXBANDWIDTH and because all classes are subclasses of a parent class limited
to 128Kibit/s the maximum bandwidth consumed is 128Kibit/s.
QOS_CLASS_x_MAXBANDWIDTH Maximum bandwidth to be allocated to the class.
There is no sense in entering a lower value than in QOS_CLASS_x_MINBANDWIDTH. If nothing is
set here this variable automatically will be set to the value of QOS_CLASS_x_MINBANDWIDTH.
Such a class can’t use any free bandwidth resources.
See above: Something general on speed units (Page 205).
QOS_CLASS_x_DIRECTION This variable sets the direction the class belongs to. If up-
stream regulation is intended set:
QOS_CLASS_x_DIRECTION='up'
for downstream in analog:
QOS_CLASS_x_DIRECTION='down'
QOS_CLASS_x_PRIO Set the priority of the class here. The lower the number the higher
the priority. Values between 0 and 7 are allowed. Leaving this empty equals to setting
’0’.
Priorities are used to determine which class can use free bandwidth resources. Lets change
our example in QOS_CLASS_x_MINIMUMBANDWIDTH to reflect this: Nothing was changed for
the first class. Classes 2 to 4 get a priority:
QOS_CLASS_2_PARENT='1'
QOS_CLASS_2_MINBANDWIDTH='60Kibit/s'
QOS_CLASS_2_MAXBANDWIDTH='128Kibit/s'
207










