1#
2#  CBQ (for IPv6) configuration for the WIDE Camp'98 Fall
3#
4interface sr0 bandwidth 128K cbq
5class cbq sr0 root NULL pbandwidth 100
6#
7# meta classes
8#
9class cbq sr0 ctl_class root pbandwidth 4 control
10class cbq sr0 def_class root borrow pbandwidth 95 default
11#
12class cbq sr0 bulk def_class borrow pbandwidth 40
13class cbq sr0 misc def_class borrow pbandwidth 25
14class cbq sr0 intr def_class borrow pbandwidth 25
15
16#
17# leaf classes
18#
19
20#
21#  bulk data classes
22#
23class cbq sr0 tcp bulk borrow pbandwidth 10 red
24	filter6 sr0 tcp ::0 0 ::0 0 6		# other tcp
25class cbq sr0 ftp bulk borrow pbandwidth 10 red
26	filter6 sr0 ftp ::0 0 ::0 20 6		# ftp-data
27	filter6 sr0 ftp ::0 20 ::0 0 6		# ftp-data
28class cbq sr0 http bulk borrow pbandwidth 10 red
29	filter6 sr0 http ::0 0 ::0 80 6		# http
30	filter6 sr0 http ::0 80 ::0 0 6		# http
31	filter6 sr0 http ::0 0 ::0 8080 6	# http proxy
32	filter6 sr0 http ::0 8080 ::0 0 6	# http proxy
33	filter6 sr0 http ::0 0 ::0 3128 6	# squid
34	filter6 sr0 http ::0 3128 ::0 0 6	# squid
35class cbq sr0 pop3 bulk borrow pbandwidth 10 red
36	filter6 sr0 pop3 ::0 0 ::0 110 6	# pop3
37	filter6 sr0 pop3 ::0 110 ::0 0 6	# pop3
38
39#
40# misc (udp, ipv4) classes
41#
42class cbq sr0 udp misc borrow pbandwidth 5 red
43	filter6 sr0 udp ::0 0 ::0 0 17		# other udp
44class cbq sr0 cbq misc borrow pbandwidth 5 red
45	filter6 sr0 cbq ::0 7289 ::0 0 17	# cbq monitor
46	filter6 sr0 cbq ::0 7291 ::0 0 17	# cbq monitor
47class cbq sr0 rip misc borrow pbandwidth 5 red
48	filter6 sr0 rip ::0 520 ::0 0 17	# rip
49	filter6 sr0 rip ::0 0 ::0 520 17	# rip
50class cbq sr0 ipv4 misc borrow pbandwidth 10 red
51	filter sr0 ipv4 0 0 0 0 0		# ipv4
52
53#
54# interactive classes
55#
56class cbq sr0 dns intr borrow pbandwidth 5 red
57	filter6 sr0 dns ::0 0 ::0 53 17		# dns (udp)
58	filter6 sr0 dns ::0 53 ::0 0 17		# dns (udp)
59	filter6 sr0 dns ::0 0 ::0 53 6		# dns (tcp)
60	filter6 sr0 dns ::0 53 ::0 0 6		# dns (tcp)
61class cbq sr0 telnet intr borrow pbandwidth 10 red
62	filter6 sr0 telnet ::0 0 ::0 23 6	# telnet
63	filter6 sr0 telnet ::0 23 ::0 0 6	# telnet
64	filter6 sr0 telnet ::0 0 ::0 513 6	# rlogin
65	filter6 sr0 telnet ::0 513 ::0 0 6	# rlogin
66class cbq sr0 ssh intr borrow pbandwidth 10 red
67	filter6 sr0 ssh ::0 0 ::0 22 6		# ssh
68	filter6 sr0 ssh ::0 22 ::0 0 6		# ssh
69