Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

Scripting • Reset statistics of connected wireless devices / clients

$
0
0
I usually reset some of the statistics of the my hAP AC2 router using the following command (run via a scheduler / cron)...

Code:
/interface reset-counters [find];
The above command works and resets the statistics of all interfaces listed at
Code:
/interface print
. However, I see that statistics of connected devices are not reset using this method. I frequently use "MikroTik Home" app (Android version) to check the statistics of connected devices / clients (such as a mobile). In the MikroTik Home app, there is an option to "reset statistics" of individual devices / clients. I'd like to automate resetting this statistics through a script. However, I can not even find where to see the statistics of connected devices / clients individually via command line. I checked
Code:
/ip arp
,
Code:
/interface/wireless/registration-table
. Where do I look for this info via command line? Any clues?

Statistics: Posted by pothi — Sun Jan 28, 2024 4:11 am



Viewing all articles
Browse latest Browse all 15394

Trending Articles