Did you read HTB user manual ?
On Thu, 6 Jun 2002, [gb2312] hanhbnetfilter wrote:
> tc qdisc add dev eth0 root handle 1: htb default 12
> tc class add dev eth0 parent 1: classid 1:10 rate
> 30kbps ceil 100kbps burst 2k
> tc class add dev eth0 parent 1: classid 1:11 rate
> 10kbps ceil 100kbps bur
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:10 rate
30kbps ceil 100kbps burst 2k
tc class add dev eth0 parent 1: classid 1:11 rate
10kbps ceil 100kbps burst 2k
tc class add dev eth0 parent 1: classid 1:12 rate
60kbps ceil 100kbps burst 2k
tc filter