iproute2:tc: Class names

From: Vadim Kochan <hidden>
Date: 2015-03-01 22:31:20

Hi,

I have some local version of tc which can show class names in the
following manners (-m means use names mapping):

# tc/tc -m class show dev lo

class htb 1:10 parent 1:1 leaf 10: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b 
class htb 1:1 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b 
class htb web:1:20 parent 1:1 leaf 20: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b 
class htb voip:1:40 parent 1:2 leaf 40: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b 
class htb 1:50 parent 1:2 leaf 50: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b 

It uses special mapping file from /etc/iproute2/cls_map:

1:20    web
1:40    voip

Also it can be used for specifying class name for filter.

What do you think about this ?

Thanks,
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help