Next: Filters
Up: QoS Support in Linux
Previous: Queuing Disciplines
The syntax for creating a class is shown below:
tc class [ add | del | change | get ] dev STRING
[ classid CLASSID ] [ root | parent CLASSID ]
[ [ QDISC_KIND ] [ help | OPTIONS ] ]
tc class show [ dev STRING ] [ root | parent CLASSID ]
Where:
QDISC_KIND := { prio | cbq | etc. }
The QDISC_KIND can be one of the queuing disciplines that support classes.
The interpretation of the fields:
- classid represents the handle that is assigned to the class by the user.
It consists of a major number and a minor number, which have been discussed
already.
- root indicates that the class represents the root class in the link
sharing hierarchy.
- parent indicates the handle of the parent of the queuing discipline.
Saravanan Radhakrishnan
1999-09-30