Community discussions

MikroTik App
 
hzeid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Tue Oct 12, 2004 11:57 am
Location: Lebanon

pcq help

Wed May 11, 2005 11:41 pm

this is my pcq setup can anybody help me to use burst and if i need anything to make it work better. also i need to know how to setup it to be used with pppoe client users.

[admin@MikroTik] queue> type
[admin@MikroTik] queue type> print
0 name="default" kind=pfifo bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=0 pcq-limit=50 pcq-classifier=""

1 name="ethernet-default" kind=pfifo bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=0 pcq-limit=50 pcq-classifier=""

2 name="wireless-default" kind=sfq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=0 pcq-limit=50 pcq-classifier=""

3 name="synchronous-default" kind=red bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=0 pcq-limit=50 pcq-classifier=""

4 name="64k-down" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=65536 pcq-limit=50 pcq-classifier=dst-address

5 name="48k-down" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=49152 pcq-limit=10 pcq-classifier=dst-address

6 name="128k-down" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=131072 pcq-limit=50 pcq-classifier=dst-address

7 name="100k-down" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=102400 pcq-limit=50 pcq-classifier=dst-address

8 name="6kup-48kdown" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=6144 pcq-limit=10 pcq-classifier=src-address

9 name="6kup-64kdown" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=6144 pcq-limit=50 pcq-classifier=src-address

10 name="8kup-48kdown" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=8192 pcq-limit=50 pcq-classifier=src-address

11 name="8kup-64kdown" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=8192 pcq-limit=50 pcq-classifier=src-address

12 name="12kup-64kdown" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=12288 pcq-limit=50 pcq-classifier=src-address

13 name="12kup-48kdown" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=12288 pcq-limit=50 pcq-classifier=src-address

14 name="12kup-100kdown" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=12288 pcq-limit=50 pcq-classifier=src-address

15 name="16kup-100kdown" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=16384 pcq-limit=50 pcq-classifier=src-address

16 name="16kup-128kdown" kind=pcq bfifo-limit=15000 pfifo-limit=50 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5 sfq-allot=1514
pcq-rate=16384 pcq-limit=50 pcq-classifier=src-address



[admin@MikroTik] queue tree> print
Flags: X - disabled, I - invalid, D - dynamic
0 name="all-out" parent=global-out flow="" limit-at=0 queue=wireless-default priority=>
max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

1 name="128k-down" parent=all-out flow=128k-down limit-at=0 queue=128k-down priority=8
max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

2 name="100k-down" parent=all-out flow=100k-down limit-at=0 queue=100k-down priority=8
max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

3 name="64k-down" parent=all-out flow=64k-down limit-at=0 queue=64k-down priority=8
max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

4 name="48k-down" parent=all-out flow=48k-down limit-at=0 queue=48k-down priority=8
max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

5 name="all-in" parent=global-in flow="" limit-at=0 queue=wireless-default priority=8
max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

6 name="6kup-48kdown" parent=all-in flow=6kup-48kdown limit-at=0 queue=6kup-48kdown
priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

7 name="6kup-64kdown" parent=all-in flow=6kup-64kdown limit-at=0 queue=6kup-64kdown
priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

8 name="8kup-64kdown" parent=all-in flow=8kup-64kdown limit-at=0 queue=8kup-64kdown
priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

9 name="8kup-48kdown" parent=all-in flow=8kup-48kdown limit-at=0 queue=8kup-48kdown
priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

10 name="12kup-48kdown" parent=all-in flow=12kup-48kdown limit-at=0 queue=12kup-48kdown
priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

11 name="12kup-100kdown" parent=all-in flow=12kup-100kdown limit-at=0
queue=12kup-100kdown priority=8 max-limit=0 burst-limit=0 burst-threshold=0
burst-time=0

12 name="12kup-64kdown" parent=all-in flow=12kup-64kdown limit-at=0 queue=12kup-64kdown
priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0

13 name="16kup-100kdown" parent=all-in flow=16kup-100kdown limit-at=0
queue=16kup-100kdown priority=8 max-limit=0 burst-limit=0 burst-threshold=0
burst-time=0

14 name="16kup-128kdown" parent=all-in flow=16kup-128kdown limit-at=0
queue=16kup-128kdown priority=8 max-limit=0 burst-limit=0 burst-threshold=0
burst-time=0



[admin@MikroTik] ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 src-address=10.20.130.2/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

1 src-address=10.20.130.5/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

2 src-address=10.20.130.6/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

3 src-address=10.20.130.10/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

4 src-address=10.20.130.14/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

5 src-address=10.20.130.15/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

6 src-address=10.20.130.22/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

7 src-address=10.20.130.23/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

8 src-address=10.20.130.24/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

9 src-address=10.20.130.25/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

10 src-address=10.20.130.36/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

11 src-address=10.20.130.37/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

12 src-address=10.20.130.38/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

13 src-address=10.20.130.39/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

14 src-address=10.20.130.40/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

15 src-address=10.20.130.41/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

16 src-address=10.20.130.42/32 in-interface=ip-address action=passthrough
mark-flow=6kup-48kdown mark-connection=6kup-48kdown

17 in-interface=!ip-address connection=6kup-48kdown action=accept mark-flow=48k-down

18 src-address=10.20.130.33/32 in-interface=ip-address action=passthrough
mark-flow=8kup-64kdown mark-connection=8kup-64kdown

19 in-interface=!ip-address connection=8kup-64kdown action=accept mark-flow=64k-down

20 src-address=10.20.130.60/32 in-interface=ip-address action=passthrough
mark-flow=12kup-100kdown mark-connection=12kup-100kdown

21 src-address=10.20.130.80/32 in-interface=ip-address action=passthrough
mark-flow=12kup-100kdown mark-connection=12kup-100kdown

22 in-interface=!ip-address connection=12kup-100kdown action=accept mark-flow=100k-down

23 X in-interface=!ip-address connection=12kup-128kdown action=accept mark-flow=128k-down
 
hzeid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Tue Oct 12, 2004 11:57 am
Location: Lebanon

Thu May 12, 2005 12:01 pm

why no body is providing help. is it soo silly and i am dumped that i am unable to configure it the right way. or there is a problem in what i am asking
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Fri May 13, 2005 11:51 am

why no body is providing help. is it soo silly and i am dumped that i am unable to configure it the right way. or there is a problem in what i am asking
because there are so much rules...

You should use the followinf three parameter in '/queue tree' for bursting:
burst-limit, burst-threshold, burst-time

Here is a good explanation of mentioned:
http://www.mikrotik.com/docs/ros/2.9/root/queue

If you want to perform burting for ppp-kind clients i suggest to use Rate-Limit parameter in '/ppp profile' or on the RADIUS server. It's available only in v2.9.

Edgars

Who is online

Users browsing this forum: GoogleOther [Bot], RobertsN, svmk and 44 guests