2 # sample configuration file for 1Mbps link
4 interface sr0 bandwidth 1M cbq
5 class cbq sr0 root NULL pbandwidth 100
9 class cbq sr0 ctl_class root pbandwidth 4 control
10 class cbq sr0 def_class root borrow pbandwidth 95 default
12 class cbq sr0 bulk def_class borrow pbandwidth 30
13 class cbq sr0 misc def_class borrow pbandwidth 30
14 class cbq sr0 intr def_class borrow pbandwidth 30
23 class cbq sr0 tcp bulk borrow pbandwidth 5 red
24 filter sr0 tcp 0 0 0 0 6 # other tcp
25 class cbq sr0 ftp bulk borrow pbandwidth 5 red
26 filter sr0 ftp 0 0 0 20 6 # ftp-data
27 filter sr0 ftp 0 20 0 0 6 # ftp-data
28 class cbq sr0 http bulk borrow pbandwidth 5 red
29 filter sr0 http 0 0 0 80 6 # http
30 filter sr0 http 0 80 0 0 6 # http
31 class cbq sr0 pop3 bulk borrow pbandwidth 5 red
32 filter sr0 pop3 0 0 0 110 6 # pop3
33 filter sr0 pop3 0 110 0 0 6 # pop3
34 class cbq sr0 imap bulk borrow pbandwidth 5 red
35 filter sr0 imap 0 0 0 143 6 # imap
36 filter sr0 imap 0 143 0 0 6 # imap
40 class cbq sr0 udp misc borrow pbandwidth 5 red
41 filter sr0 udp 0 0 0 0 17 # other udp
42 class cbq sr0 rip misc borrow pbandwidth 5 red
43 filter sr0 rip 0 520 0 0 17 # rip
47 class cbq sr0 dns intr borrow pbandwidth 5 red
48 filter sr0 dns 0 0 0 53 17
49 filter sr0 dns 0 0 0 53 6
50 class cbq sr0 telnet intr borrow pbandwidth 5 red
51 filter sr0 telnet 0 0 0 23 6 # telnet
52 filter sr0 telnet 0 23 0 0 6 # telnet
53 filter sr0 telnet 0 0 0 513 6 # rlogin
54 filter sr0 telnet 0 513 0 0 6 # rlogin
55 class cbq sr0 ssh intr borrow pbandwidth 5 red
56 filter sr0 ssh 0 0 0 22 6 # ssh
57 filter sr0 ssh 0 22 0 0 6 # ssh