hfsc.diffedge revision 1.1
11.1Sthorpej#
21.1Sthorpej# sample diffedge configuration using HFSC
31.1Sthorpej#
41.1Sthorpej
51.1Sthorpej# input interface
61.1Sthorpej#
71.1Sthorpejinterface pvc1
81.1Sthorpej#
91.1Sthorpej# EF conditioner
101.1Sthorpej#
111.1Sthorpejconditioner pvc1 ef_cdnr <tbmeter 6M 64K <mark 0xb8><drop>>
121.1Sthorpej	filter pvc1 ef_cdnr 0 0 172.16.4.174 0 0
131.1Sthorpej#
141.1Sthorpej# AF conditioners
151.1Sthorpej#
161.1Sthorpejconditioner pvc1 af1x_cdnr \
171.1Sthorpej	<trtcm 3M 32K 10M 64K <mark 0x28><mark 0x30><mark 0x38> colorblind>
181.1Sthorpejconditioner pvc1 af2x_cdnr \
191.1Sthorpej	<trtcm 3M 32K 10M 64K <mark 0x48><mark 0x50><mark 0x58> colorblind>
201.1Sthorpejconditioner pvc1 af3x_cdnr \
211.1Sthorpej	<trtcm 3M 32K 10M 64K <mark 0x68><mark 0x70><mark 0x78> colorblind>
221.1Sthorpej# tswtcm
231.1Sthorpejconditioner pvc1 af4x_cdnr \
241.1Sthorpej	<tswtcm 3M 10M 500 <mark 0x88><mark 0x90><mark 0x98>>
251.1Sthorpej
261.1Sthorpej	filter pvc1 af1x_cdnr 0 0 172.16.4.176 0 0
271.1Sthorpej	filter pvc1 af2x_cdnr 0 0 172.16.4.177 0 0
281.1Sthorpej	filter pvc1 af3x_cdnr 0 0 172.16.4.178 0 0
291.1Sthorpej	filter pvc1 af4x_cdnr 0 0 172.16.4.179 0 0
301.1Sthorpej
311.1Sthorpej#
321.1Sthorpej# output interface
331.1Sthorpej#
341.1Sthorpejinterface pvc0 bandwidth 45M hfsc
351.1Sthorpejclass hfsc pvc0 def_class root pshare 10 default 
361.1Sthorpej#
371.1Sthorpej# EF class
381.1Sthorpej#	real-time: 6Mbps
391.1Sthorpej#	link-sharing: 0%
401.1Sthorpej#
411.1Sthorpejclass hfsc pvc0 ef_class root grate 6M
421.1Sthorpej	filter pvc0 ef_class 0 0 0 0 0 tos 0xb8 tosmask 0xfc
431.1Sthorpej#
441.1Sthorpej# AF classes
451.1Sthorpej#	real-time: 3Mbps
461.1Sthorpej#	link-sharing: 10% (4.5Mbps)
471.1Sthorpej#
481.1Sthorpej# rio threshold values
491.1Sthorpejrio 40 50 10 20 30 10 5 15 10
501.1Sthorpej#
511.1Sthorpejclass hfsc pvc0 af1x_class root grate 3M pshare 10 rio
521.1Sthorpejclass hfsc pvc0 af2x_class root grate 3M pshare 10 rio
531.1Sthorpejclass hfsc pvc0 af3x_class root grate 3M pshare 10 rio cleardscp
541.1Sthorpejclass hfsc pvc0 af4x_class root grate 3M pshare 10 rio
551.1Sthorpej
561.1Sthorpej	filter pvc0 af1x_class 0 0 0 0 0 tos 0x20 tosmask 0xe4
571.1Sthorpej	filter pvc0 af2x_class 0 0 0 0 0 tos 0x40 tosmask 0xe4
581.1Sthorpej	filter pvc0 af3x_class 0 0 0 0 0 tos 0x60 tosmask 0xe4
591.1Sthorpej	filter pvc0 af4x_class 0 0 0 0 0 tos 0x80 tosmask 0xe4
60