cbq.sample2 revision 1.1 1 1.1 thorpej # cbq configuration for vx0 (10Mbps ether)
2 1.1 thorpej # give at least 40% to TCP
3 1.1 thorpej # limit HTTP from network 133.138.1.0 up to 10%
4 1.1 thorpej # other traffic goes into default class
5 1.1 thorpej interface vx0 bandwidth 10M cbq
6 1.1 thorpej class cbq vx0 root_class NULL pbandwidth 100
7 1.1 thorpej class cbq vx0 def_class root_class borrow pbandwidth 95 default
8 1.1 thorpej class cbq vx0 tcp_class def_class borrow pbandwidth 40
9 1.1 thorpej filter vx0 tcp_class 0 0 0 0 6
10 1.1 thorpej class cbq vx0 csl_class tcp_class pbandwidth 10
11 1.1 thorpej filter vx0 csl_class 0 0 133.138.1.0 netmask 0xffffff00 80 6
12 1.1 thorpej filter vx0 csl_class 133.138.1.0 netmask 0xffffff00 0 0 80 6
13 1.1 thorpej
14