# # sample diffedge configuration using HFSC # # input interface # interface pvc1 # # EF conditioner # conditioner pvc1 ef_cdnr > filter pvc1 ef_cdnr 0 0 172.16.4.174 0 0 # # AF conditioners # conditioner pvc1 af1x_cdnr \ colorblind> conditioner pvc1 af2x_cdnr \ colorblind> conditioner pvc1 af3x_cdnr \ colorblind> # tswtcm conditioner pvc1 af4x_cdnr \ > filter pvc1 af1x_cdnr 0 0 172.16.4.176 0 0 filter pvc1 af2x_cdnr 0 0 172.16.4.177 0 0 filter pvc1 af3x_cdnr 0 0 172.16.4.178 0 0 filter pvc1 af4x_cdnr 0 0 172.16.4.179 0 0 # # output interface # interface pvc0 bandwidth 45M hfsc class hfsc pvc0 def_class root pshare 10 default # # EF class # real-time: 6Mbps # link-sharing: 0% # class hfsc pvc0 ef_class root grate 6M filter pvc0 ef_class 0 0 0 0 0 tos 0xb8 tosmask 0xfc # # AF classes # real-time: 3Mbps # link-sharing: 10% (4.5Mbps) # # rio threshold values rio 40 50 10 20 30 10 5 15 10 # class hfsc pvc0 af1x_class root grate 3M pshare 10 rio class hfsc pvc0 af2x_class root grate 3M pshare 10 rio class hfsc pvc0 af3x_class root grate 3M pshare 10 rio cleardscp class hfsc pvc0 af4x_class root grate 3M pshare 10 rio filter pvc0 af1x_class 0 0 0 0 0 tos 0x20 tosmask 0xe4 filter pvc0 af2x_class 0 0 0 0 0 tos 0x40 tosmask 0xe4 filter pvc0 af3x_class 0 0 0 0 0 tos 0x60 tosmask 0xe4 filter pvc0 af4x_class 0 0 0 0 0 tos 0x80 tosmask 0xe4