Mikrotik Data Cap Quota Management
SOCIFI allows you to set a cap of a total volume of data transferred (upload + download combined).
Be aware of an attribute size which stores the total volume of data transferred in Mikrotik RouterOS. Whereas most of the nowadays systems are 32-bit and the value is set in bytes (octets), the maximum value for maximum traffic volume is 232 (which means the data limit of around 4GB).
Mikrotik RouterOS resolved this by adding a new attribute labeled *-Gigawords.
Field | Description |
---|---|
Mikrotik-Recv-Limit | Total receive limit in bytes for the client |
Mikrotik-Recv-Limit-Gigawords | 4G (232) bytes of total receive limit (bits 32..63, when bits 0..31 are delivered in Mikrotik-Recv-Limit) |
Mikrotik-Xmit-Limit | Total transmit limit in bytes for the client |
Mikrotik-Xmit-Limit-Gigawords | 4G (232) bytes of total transmit limit (bits 32..63, when bits 0..31 are delivered in Mikrotik-Xmit-Limit) |
Mikrotik-Total-Limit | Total limit in bytes for the client |
Mikrotik-Total-Limit-Gigawords | 4G (232) bytes of total limit (bits 32..63, when bits 0..31 are delivered in Mikrotik-Total-Limit) |