tc / iproute2, how to list the configuration

This is my first time using traffic shaping and I am wondering how I can list the rules I applied like you can with iptables?

Walter


Solution 1:

Perhaps your problem is that you said "list the rules", while tools from iproute2 use "show" as keyword instead.

Examples:

tc qdisc show
tc class show dev eth0
tc filter show dev eth0

For more details, consult the manpage for tc and the well known resource LARTC.