Community discussions

MikroTik App
 
plucchetti
newbie
Topic Author
Posts: 33
Joined: Sat Jun 18, 2005 6:57 pm

Pcq question

Thu Jun 30, 2005 9:13 pm

Hi,
I made three profiles with pcq for different rates limit (128, 256 and 512), but i want to ensure a minimum rate for download for each, for example:

128k profile
min: 32k max: 128

256 profile
min: 65k max: 256

512 profile
min: 128 max: 512

Thanks in advance.

Pablo
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Fri Jul 01, 2005 8:03 am

You should use, limit-at for your min, and max-limit for your max.
Many useful information, you can find there,
http://www.mikrotik.com/docs/ros/2.9/root/queue
and there is an example with pcq,
http://www.mikrotik.com/docs/ros/2.9/ro ... t#6.54.6.1
 
plucchetti
newbie
Topic Author
Posts: 33
Joined: Sat Jun 18, 2005 6:57 pm

Fri Jul 01, 2005 3:25 pm

Thanks a lot man.
I read the documentation, but i didn't understand how to apply;
This is my scenario

Mangle rules
src-address=192.168.5.1/32 in-interface=Local action=passthrough mark-flow=basic-up mark-connection=basic-up

in-interface=!Local connection=basic-up action=acceptmark-flow=basic-down

Queue type
name="basic-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=524288 pcq-limit=50 pcq-classifier=dst-address

name="basic-up" 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=256000 pcq-limit=50 pcq-classifier=src-address

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

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

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

name="basic-up" parent=all-in flow=basic-up limit-at=0 queue=basic-up priority=8 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0

I can apply CIR and MIR?

Pablo

Who is online

Users browsing this forum: No registered users and 35 guests