Community discussions

MikroTik App
 
piatthi
newbie
Topic Author
Posts: 32
Joined: Tue May 05, 2009 10:56 am

dynamic management of bandwdth

Thu Sep 03, 2009 11:10 am

hi all, i need to configure a script that allow routeros to automatically control bandwidth allocation on out interface.

P2P must have 6M of bandwitdh when total bandwidth consomption on out is < 25M
when total bandwidth consomption is >25M , bandwidth of P2P automatically slow down to 3M

is it possible ?

thank for your help
 
kirshteins
MikroTik Support
MikroTik Support
Posts: 592
Joined: Tue Dec 02, 2008 10:55 am

Re: dynamic management of bandwdth

Thu Sep 03, 2009 11:23 am

This should be possible using traffic monitor http://www.mikrotik.com/testdocs/ros/2. ... rafmon.php. When out traffic becomes >25M script disables 6M P2P queue and enables 3M P2P queue. When out traffic becomes <25M it disables 3M queue and enables 6M queue.
 
piatthi
newbie
Topic Author
Posts: 32
Joined: Tue May 05, 2009 10:56 am

Re: dynamic management of bandwdth

Thu Sep 03, 2009 12:07 pm

ok thanks so much
 
piatthi
newbie
Topic Author
Posts: 32
Joined: Tue May 05, 2009 10:56 am

Re: dynamic management of bandwdth

Thu Sep 03, 2009 8:51 pm

is it possible to do this

system script add name=0M-up source={/queue simple enable 1
/queue simple disable 0}


if i need a script that allow to enable Queue ID 1 and disable Queue ID 2.

Queue ID 1 = P2P 6M

Queue ID 2 = P2P 3M

thank for help
 
kirshteins
MikroTik Support
MikroTik Support
Posts: 592
Joined: Tue Dec 02, 2008 10:55 am

Re: dynamic management of bandwdth

Fri Sep 04, 2009 9:19 am

You can identify your queues with names. For example, make queues named "3M_P2P_Queue" and "6M_P2P_Queue". Then
/queue simple disable [find name="3M_P2P_Queue"];
/queue simple enable [find name="6M_P2P_Queue"];

Who is online

Users browsing this forum: No registered users and 71 guests