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