Page 1 of 1

Radius: the Rate-Limit attribute

Posted: Sat Jun 12, 2004 10:55 pm
by butche
Can anyone provide details on the correct format for the new "Rate-Limit" attribute? I have tried a couple and cannot seem to find the correct format.

I would like to limit up and download speeds with this attribute. TIA.

Posted: Sat Jun 12, 2004 11:21 pm
by butche
Also, the dictionary file at: http://www.mikrotik.com/Documentation/m ... y.mikrotik is corrupt (the Rate-Limit attribute line).

Posted: Sun Jun 13, 2004 5:30 pm
by n5ltc
I have the same problem. I am trying to get differing upload/download speeds and I am actually using the Ascend-Data-Rate attribute per some of the MT docs and it sets both the up/down speed the same (as seen in the queue created by the pppoe connection). I guess I am supposed to be using the Rate-Limit attribute?

Posted: Wed Jun 23, 2004 4:15 am
by eflanery
I use Accend-Data-Rate for upload limiting, and Accend-Xmit-Rate for download limiting. Works perfect for PPPoE, but upload limiting seems somewhat broken with PPTP. Haven't tried it with Async, L2TP, or HotSpot.

--Eric

Posted: Fri Jun 25, 2004 5:29 am
by Lord
Rate-Limit - Datarate limitation for clients (PPPs only). Format is: rx-rate[/tx-rate]
[rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold]
[rx-burst-time[/tx-burst-time]]]]. All rates should be numbers with optional 'k' (100s) or 'M'
(1000,000s). If tx-rate is not specified, rx-rate is as tx-rate too. Same goes for tx-burst-rate and
tx-burst-threshold and tx-burst-time. If both rx-burst-threshold and tx-burst-threshold are not
specified (but burst-rate is specified), rx-rate and tx-rate is used as burst thresholds. If both
rx-burst-time and tx-burst-time are not specified, 1s is used as default.
Note that the received attributes override the default ones (set in the default profile), but if an
attribute is not received from RADIUS server, the default one is to be used.
• 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