User Manager/Limiting

From MikroTik Wiki
< User Manager
Revision as of 09:53, 5 October 2006 by Girts (talk | contribs)
Jump to: navigation, search

Introduction

User actions can be limited in several dimensions:

  • time
  • traffic amount (download and upload)
  • rate limits (speed)

Time

Time can be managed in two ways: user's uptime-limit field and credit's time field.

Uptime limit

Uptime limit is maximum time amount a user is allowed to be active. If the user's uptime-limit field is left blank, he/she has no uptime limit. See the example below.

Credit time

Subscriber can define available credit vouchers. User can buy those vouchers, customers can assign available credits to users. User credits are valid specific time. This means, when a credit is started, it must be used within a time specified. See the example below.

Example

If a user must be allowed to use 2 hours of Internet access and he/she must use these 2 hours within one week, then the uptime-limit field must be set to 2h and the user must be assigned a credit with time equal to 1w (See character constants for more information about time limit constants).

Traffic amount

User has fields download-limit and upload-limit. To specify unlimited amount, leave blank the proper field. Limits are specified in bytes. For example, to allow download 1GB, download-limit field must have value of 1073741824 (1073741824 bytes = 1024 x 1024 x 1024 bytes = 1 gigabyte).

Rate limits

User has field rate-limit. This field is available straight in the console, but is divided in several fields in web-interface, to ease the input process. For more detailed description about the meaning of these fields see topic "HotSpot User AAA" in Mikrotik Documentation, Online Reference manual (can be found in documentation page), search for "rate-limit".