Hey 9939781, Thank you very much for your great idea.
I have done my scripts. I have tested it in small network few times, works great. I will test it tonight in target network. There is about 500 dynamic rules. Hope it will work without any trouble.
To add scheduler that stops Radius connection during my scripts finish to change all queues. Because does not need any new connection at the time, when script us running.
To add query in FreeRadius server, that changes all customer speed information at the time, when RouterOS script starts.
I have some Total queues in the /queue simple, that do not need to change limit rates. It means, need to exclude some simple queue rules from variable
btw, you cannot change settings for dynamic objects, only remove them in RouterOS. If you change settings for customer, then speed limitation will work only when customer reconnects.
I have tested successfully. When customer is downloading 1024kbps, I have changed dynamic simple queue to 512kbps. Customer download limit has decreased immediately to 512Kbps. My ROS is V5.2 and my tested hardware is RB433UAH, RB1000 and PowerRouter2282 (x86). Please janisk help me, how can I exclude some queue rules from variable :foreach i?
you could add internal if check, to see comment or something, if item has to be skipped or not. Other change is to find queues with different find parameters and then run foreach i on the search results.
:global rez [queue simple find where comment=“do not pass”]
Hi
In my network I have PPPoE tunels and all data are takes from Radius server and MySQL databese. I try to put night tariff about boost speed twice on RO.