11.1Sthorpej#
21.1Sthorpej# sample configuration file for 1Mbps link
31.1Sthorpej#	
41.1Sthorpejinterface sr0 bandwidth 1M cbq
51.1Sthorpejclass cbq sr0 root NULL pbandwidth 100
61.1Sthorpej#
71.1Sthorpej# meta classes
81.1Sthorpej#
91.1Sthorpejclass cbq sr0 ctl_class root pbandwidth 4 control
101.1Sthorpejclass cbq sr0 def_class root borrow pbandwidth 95 default
111.1Sthorpej#
121.1Sthorpejclass cbq sr0 bulk def_class borrow pbandwidth 30
131.1Sthorpejclass cbq sr0 misc def_class borrow pbandwidth 30
141.1Sthorpejclass cbq sr0 intr def_class borrow pbandwidth 30
151.1Sthorpej
161.1Sthorpej#
171.1Sthorpej# leaf classes
181.1Sthorpej#
191.1Sthorpej
201.1Sthorpej#
211.1Sthorpej#  bulk data classes
221.1Sthorpej#
231.1Sthorpejclass cbq sr0 tcp bulk borrow pbandwidth 5 red
241.1Sthorpej	filter sr0 tcp 0 0 0 0 6	# other tcp
251.1Sthorpejclass cbq sr0 ftp bulk borrow pbandwidth 5 red
261.1Sthorpej	filter sr0 ftp 0 0 0 20 6	# ftp-data
271.1Sthorpej	filter sr0 ftp 0 20 0 0 6	# ftp-data
281.1Sthorpejclass cbq sr0 http bulk borrow pbandwidth 5 red
291.1Sthorpej	filter sr0 http 0 0 0 80 6	# http
301.1Sthorpej	filter sr0 http 0 80 0 0 6	# http
311.1Sthorpejclass cbq sr0 pop3 bulk borrow pbandwidth 5 red
321.1Sthorpej	filter sr0 pop3 0 0 0 110 6	# pop3
331.1Sthorpej	filter sr0 pop3 0 110 0 0 6	# pop3
341.1Sthorpejclass cbq sr0 imap bulk borrow pbandwidth 5 red
351.1Sthorpej	filter sr0 imap 0 0 0 143 6	# imap
361.1Sthorpej	filter sr0 imap 0 143 0 0 6	# imap
371.1Sthorpej#
381.1Sthorpej# misc (udp) classes
391.1Sthorpej#
401.1Sthorpejclass cbq sr0 udp misc borrow pbandwidth 5 red
411.1Sthorpej	filter sr0 udp 0 0 0 0 17	# other udp
421.1Sthorpejclass cbq sr0 rip misc borrow pbandwidth 5 red
431.1Sthorpej	filter sr0 rip 0 520 0 0 17	# rip
441.1Sthorpej#
451.1Sthorpej# interactive classes
461.1Sthorpej#
471.1Sthorpejclass cbq sr0 dns intr borrow pbandwidth 5 red
481.1Sthorpej	filter sr0 dns 0 0 0 53 17
491.1Sthorpej	filter sr0 dns 0 0 0 53 6
501.1Sthorpejclass cbq sr0 telnet intr borrow pbandwidth 5 red
511.1Sthorpej	filter sr0 telnet 0 0 0 23 6	# telnet
521.1Sthorpej	filter sr0 telnet 0 23 0 0 6	# telnet
531.1Sthorpej	filter sr0 telnet 0 0 0 513 6	# rlogin
541.1Sthorpej	filter sr0 telnet 0 513 0 0 6	# rlogin
551.1Sthorpejclass cbq sr0 ssh intr borrow pbandwidth 5 red
561.1Sthorpej	filter sr0 ssh 0 0 0 22 6	# ssh
571.1Sthorpej	filter sr0 ssh 0 22 0 0 6	# ssh
58