Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
up vote 7 down vote accepted

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


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.

share|improve this answer
Ok, that is what I thought it was after reading the manpage, but after restarting the router, all of my rules appear to have been deleted. – Walter White Feb 28 '11 at 18:28
To make the rules persistent, have a boot script that sets them during the boot process. How exactly you would do it is highly distribution specific. It's the same with iptables: if you add some rules in the command line and reboot - they get lost. To achieve persistency, you either use iptables-save to save the current rules and iptables-restore during boot, or have a boot script which explicitly calls iptables to set the rules. – vtest Feb 28 '11 at 21:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.