The statistics is updated if a user is authenticated via local user database each time he/she logs out.
It means, that if a user is currently logged in, then the statistics will not show current total values.
Use /ip hotspot active submenu to view the statistics on the current user sessions.
If the user has IP address specified, only one simultaneous login is allowed. If the same credentials
are used again when the user is still active, the active one will be automatically logged off.
Example
To add user ex with password ex that is allowed to log in only with 01:23:45:67:89:AB MAC
address and is limited to 1 hour of work:
[admin@MikroTik] ip hotspot user> add name=ex password=ex \
\... mac-address=01:23:45:67:89:AB limit-uptime=1h
[admin@MikroTik] ip hotspot user> print
Flags: X - disabled
#
SERVER
NAME
0
ex
[admin@MikroTik] ip hotspot user> print detail
Flags: X - disabled
0
name="ex" password="ex" mac-address=01:23:45:67:89:AB profile=default
limit-uptime=01:00:00 uptime=00:00:00 bytes-in=0 bytes-out=0
packets-in=0 packets-out=0
[admin@MikroTik] ip hotspot user>
HotSpot Active Users
Home menu level: /ip hotspot active
Description
The active user list shows the list of currently logged in users. Nothing can be changed here, except
user can be logged out with the remove command
Property Description
address ( read-only: IP address ) - IP address of the user
blocked ( read-only: flag ) - whether the user is blocked by advertisement (i.e., usual due
advertisement is pending)
bytes-in ( read-only: integer ) - how many bytes did the router receive from the client
bytes-out ( read-only: integer ) - how many bytes did the router send to the client
domain ( read-only: text ) - domain of the user (if split from username)
idle-time ( read-only: time ) - the amount of time has the user been idle
idle-timeout ( read-only: time ) - the exact value of idle-timeout that applies to this user. This
property shows how long should the user stay idle for it to be logged off automatically
keepalive-timeout ( read-only: time ) - the exact value of keepalive-timeout that applies to this
user. This property shows how long should the user's computer stay out of reach for it to be logged
off automatically
limit-bytes-in ( read-only: integer ) - maximal amount of bytes the user is allowed to send to the
router
Page 368 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.
ADDRESS
PROFILE UPTIME
default 00:00:00
Need help?
Do you have a question about the RouterOS v2.9 and is the answer not in the manual?