1#
2# a simple test config for loopback
3#
4
5#
6# interface bandwidth 45Mbps is arbitrary (it doesn't matter as long as
7# it is bigger than the total guaranteed bandwidth)
8#
9interface pvc0 bandwidth 45M hfsc
10#
11# 50% of the excess bandwidth goes to the default class
12#
13class hfsc pvc0 def_class root pshare 50 default
14#
15# TCP 10Mbps guaranteed rate (no excess bandwidth assigned)
16#
17class hfsc pvc0 tcp_class root grate 10M
18	filter pvc0 tcp_class 0 0 0 0 6
19#
20# UDP 5Mbps guaranteed rate (no excess bandwidth assigned)
21#
22class hfsc pvc0 udp_class root grate 5M
23	filter pvc0 udp_class 0 0 0 0 17
24