recsx
August 29, 2004, 3:37pm
1
Does anyone have a clue as for the proper syntax for the radus attribute
Rate-Limit ?
The manual is very vage on this
I’m trying to use this to control data rate of PPPoE users.
We have it entered into the Radius Dictionary file but have no clue how to use it in the Attributes sent back to the Mikrotik.
HELP!!!
Thanks
There are examples in the manual;
128k - rx-rate=128000, tx-rate=128000 (no bursts)
64k/128M - rx-rate=64000, tx-rate=128000000
64k 256k - rx/tx-rate=64000, rx/tx-burst-rate=256000, rx/tx-burst-threshold=64000, rx/tx-burst-time=1s
64k/64k 256k/256k 128k/128k 10/10 - rx/tx-rate=64000, rx/tx-burst-rate=256000, rx/tx-burst-threshold=128000, rx/tx-burst-time=10s
What exact configuration do you want to make? If you tell the configuration you want to do, the forum members will be able to point the solution.
recsx
August 29, 2004, 7:35pm
3
These examples don’t tell me nothing.
The new Attribute is called Rate-Limit
This is an ATTRIBUTE of a RADIUS dictionary.
Now when adding it to a clients attributes you would have something like this
ascend-data-rate = 128000
Now for the new attribute you would have what?
rate-limit = ???
or
rx-rate = ???
you obviously cant use just
rx-rate=bla bla, as this is not in the dictionary
how exactly is it used?
And please don’t quote me the Manual I’ve read it a million times LOL
What i want is this
rate-limit = rx-limit (how ever it is writen)192000
and
rate-limit = tx-limit (how ever it is writen)64000
Thanks
Ascend-Data-Rate=128000 (without Ascend-Xmit-Rate) is equivalent to Rate-Limit=128000 or Rate-Limit=128k.
Your problem could be solved using Rate-Limit=192k/64k
Examples of Rate-Limit in the manual are given in two parts - Rate-Limit attribute value and the effective settings. So, for example:
128k - rx-rate=128000, tx-rate=128000 (no bursts)
Could be translated as: if you set Rate-Limit=128k, then you will get a dynamic queue entry, for which ‘rx-rate’ property is set to ‘128000’ and ‘tx-rate’ property - to ‘128000’
recsx
August 29, 2004, 10:40pm
5
so what your are saying is that the proper syntax in the clients attribute file or field if a DB is used would be;
Rate-Limit=192k/64k
or
Rate-Limit=256k/128k
or
Rate-Limit=1024k/512k
and so on?