bandwidth management

hi can any one help me

how to control the bandwidth in rb 750 by using queues

my need is i want to control the user based on the usage
for instant like bsnl i want to controll my internet user up to 6 gb data download speed is 1mbps after 6gb usage download speed
step down 256 kbps
how to do this stuf plz help me
thanks
jeraldvimal
ooty

You Need a Radius Server with Multi contract Support
I’am Using radius Manager from DMA Softlab

mistry7

i want to do similar stuff with Mikrotik user manager and radius server.
Is it possible??

can you explain how to do this

if your are using MT userman,

its very easy & quicky too

i have tried several options but it does not work.
I asked mikrotik support and it tells me that we need to have two profiles and write a script to run one profile and switch over to the second when the first(i.e. the data limit) is finished.
I do not know how to write a script.
Pls if forum can help.

/queue simple
#name=”Limit 6GB” target-addresses=192.168.1.0/24 dst-address=0.0.0.0/0
interface= parent=none direction=both
max-limit=1M/1M total-queue=default-small

#name=”After 6GB” target-addresses=192.168.1.0/24 dst-address=0.0.0.0/0
interface= parent=none direction=both
max-limit=256k/256k total-queue=default-small

/system script
#name=”Limit 6GB” source=/queue simple enable Limit 6GB; /queue simple disable After 6GB

#name=”After 6GB” source=/queue simple enable After 6GB; /queue simple disable Limit 6GB

now create
system scheduler for your hotspot user profile

else just make a script as below

:local traf;
/queue simple
:for i from=1 to= 254 do = {
:if ([/queue simple find target-addresses=(“192.168.1.” . $i)] != “”) do={
:set traf [get [find target-addresses=(“192.168.1.” . $i)] total-bytes]
:if ($traf > 104857600(put your 6GB here)) do = {
set [find target-addresses=(“192.168.1.” . $i)] max-limit= 256000/256000
}
}
}

thank u sir i do this

if i control the particular address means this script is right



if ([/queue simple find target-addresses=("192.168.1.10)] != “”)

I’m also using radius manager, but lol!, you cant expect a noob to turn into a linux genius and doing the works that involves using Radius manager, because its hard as hell and takes forever to understand + configuring radius manager the way you want it to work and understanding everything aint no joke