Home | History | Annotate | Line # | Download | only in altq.conf.samples
      1  1.1  thorpej #
      2  1.2   andvar # a config for hierarchical sharing
      3  1.1  thorpej #
      4  1.1  thorpej 
      5  1.1  thorpej interface pvc0 bandwidth 45M hfsc
      6  1.1  thorpej #
      7  1.1  thorpej # 10% of the bandwidth share goes to the default class
      8  1.1  thorpej #
      9  1.1  thorpej class hfsc pvc0 def_class root pshare 10 default
     10  1.1  thorpej #
     11  1.1  thorpej # 	   bandwidth share    guaranteed rate
     12  1.1  thorpej #    CMU:	45%		15Mbps
     13  1.1  thorpej #    MIT:	45%		15Mbps
     14  1.1  thorpej #
     15  1.1  thorpej class hfsc pvc0 cmu       root grate 15M pshare 45
     16  1.1  thorpej class hfsc pvc0 mit       root grate 15M pshare 45
     17  1.1  thorpej #
     18  1.1  thorpej # CMU	   bandwidth share    guaranteed rate
     19  1.1  thorpej #    CS:	20%		10Mbps
     20  1.1  thorpej #    other:	20%		 5Mbps
     21  1.1  thorpej #
     22  1.1  thorpej class hfsc pvc0 cmu_other cmu  grate 10M pshare 20
     23  1.1  thorpej 	filter pvc0 cmu_other	0 0 0 0 6
     24  1.1  thorpej class hfsc pvc0 cmu_cs    cmu  grate  5M pshare 20
     25  1.1  thorpej 	filter pvc0 cmu_cs	0 0 172.16.4.176 0 6
     26  1.1  thorpej #
     27  1.1  thorpej # MIT	   bandwidth share    guaranteed rate
     28  1.1  thorpej #    CS:	20%		10Mbps
     29  1.1  thorpej #    other:	20%		 5Mbps
     30  1.1  thorpej #
     31  1.1  thorpej class hfsc pvc0 mit_other mit  grate 10M pshare 20
     32  1.1  thorpej 	filter pvc0 mit_other	0 0 0 0 17
     33  1.1  thorpej class hfsc pvc0 mit_cs    mit  grate  5M pshare 20
     34  1.1  thorpej 	filter pvc0 mit_cs	0 0 172.16.4.176 0 17
     35