[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150301221956.GA25284@angus-think.lan>
Date: Mon, 2 Mar 2015 00:19:56 +0200
From: Vadim Kochan <vadim4j@...il.com>
To: netdev@...r.kernel.org
Subject: iproute2:tc: Class names
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,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists