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