Community discussions

MikroTik App
 
User avatar
butche
Trainer
Trainer
Topic Author
Posts: 430
Joined: Fri May 28, 2004 6:14 pm
Location: Missouri, USA
Contact:

Radius: the Rate-Limit attribute

Sat Jun 12, 2004 10:55 pm

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.
 
User avatar
butche
Trainer
Trainer
Topic Author
Posts: 430
Joined: Fri May 28, 2004 6:14 pm
Location: Missouri, USA
Contact:

Sat Jun 12, 2004 11:21 pm

Also, the dictionary file at: http://www.mikrotik.com/Documentation/m ... y.mikrotik is corrupt (the Rate-Limit attribute line).
 
n5ltc
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Sun Jun 13, 2004 7:01 am
Location: Texas

Sun Jun 13, 2004 5:30 pm

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?
 
eflanery
Member
Member
Posts: 376
Joined: Fri May 28, 2004 10:11 pm
Location: Moscow, ID
Contact:

Wed Jun 23, 2004 4:15 am

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
 
Lord
just joined
Posts: 20
Joined: Sun Jun 20, 2004 1:13 am
Location: Moscow,RU

Fri Jun 25, 2004 5:29 am

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