Home | History | Annotate | Line # | Download | only in altq.conf.samples
      1  1.1  thorpej #
      2  1.1  thorpej # sample diffedge configuration using HFSC
      3  1.1  thorpej #
      4  1.1  thorpej 
      5  1.1  thorpej # input interface
      6  1.1  thorpej #
      7  1.1  thorpej interface pvc1
      8  1.1  thorpej #
      9  1.1  thorpej # EF conditioner
     10  1.1  thorpej #
     11  1.1  thorpej conditioner pvc1 ef_cdnr <tbmeter 6M 64K <mark 0xb8><drop>>
     12  1.1  thorpej 	filter pvc1 ef_cdnr 0 0 172.16.4.174 0 0
     13  1.1  thorpej #
     14  1.1  thorpej # AF conditioners
     15  1.1  thorpej #
     16  1.1  thorpej conditioner pvc1 af1x_cdnr \
     17  1.1  thorpej 	<trtcm 3M 32K 10M 64K <mark 0x28><mark 0x30><mark 0x38> colorblind>
     18  1.1  thorpej conditioner pvc1 af2x_cdnr \
     19  1.1  thorpej 	<trtcm 3M 32K 10M 64K <mark 0x48><mark 0x50><mark 0x58> colorblind>
     20  1.1  thorpej conditioner pvc1 af3x_cdnr \
     21  1.1  thorpej 	<trtcm 3M 32K 10M 64K <mark 0x68><mark 0x70><mark 0x78> colorblind>
     22  1.1  thorpej # tswtcm
     23  1.1  thorpej conditioner pvc1 af4x_cdnr \
     24  1.1  thorpej 	<tswtcm 3M 10M 500 <mark 0x88><mark 0x90><mark 0x98>>
     25  1.1  thorpej 
     26  1.1  thorpej 	filter pvc1 af1x_cdnr 0 0 172.16.4.176 0 0
     27  1.1  thorpej 	filter pvc1 af2x_cdnr 0 0 172.16.4.177 0 0
     28  1.1  thorpej 	filter pvc1 af3x_cdnr 0 0 172.16.4.178 0 0
     29  1.1  thorpej 	filter pvc1 af4x_cdnr 0 0 172.16.4.179 0 0
     30  1.1  thorpej 
     31  1.1  thorpej #
     32  1.1  thorpej # output interface
     33  1.1  thorpej #
     34  1.1  thorpej interface pvc0 bandwidth 45M hfsc
     35  1.1  thorpej class hfsc pvc0 def_class root pshare 10 default 
     36  1.1  thorpej #
     37  1.1  thorpej # EF class
     38  1.1  thorpej #	real-time: 6Mbps
     39  1.1  thorpej #	link-sharing: 0%
     40  1.1  thorpej #
     41  1.1  thorpej class hfsc pvc0 ef_class root grate 6M
     42  1.1  thorpej 	filter pvc0 ef_class 0 0 0 0 0 tos 0xb8 tosmask 0xfc
     43  1.1  thorpej #
     44  1.1  thorpej # AF classes
     45  1.1  thorpej #	real-time: 3Mbps
     46  1.1  thorpej #	link-sharing: 10% (4.5Mbps)
     47  1.1  thorpej #
     48  1.1  thorpej # rio threshold values
     49  1.1  thorpej rio 40 50 10 20 30 10 5 15 10
     50  1.1  thorpej #
     51  1.1  thorpej class hfsc pvc0 af1x_class root grate 3M pshare 10 rio
     52  1.1  thorpej class hfsc pvc0 af2x_class root grate 3M pshare 10 rio
     53  1.1  thorpej class hfsc pvc0 af3x_class root grate 3M pshare 10 rio cleardscp
     54  1.1  thorpej class hfsc pvc0 af4x_class root grate 3M pshare 10 rio
     55  1.1  thorpej 
     56  1.1  thorpej 	filter pvc0 af1x_class 0 0 0 0 0 tos 0x20 tosmask 0xe4
     57  1.1  thorpej 	filter pvc0 af2x_class 0 0 0 0 0 tos 0x40 tosmask 0xe4
     58  1.1  thorpej 	filter pvc0 af3x_class 0 0 0 0 0 tos 0x60 tosmask 0xe4
     59  1.1  thorpej 	filter pvc0 af4x_class 0 0 0 0 0 tos 0x80 tosmask 0xe4
     60