Community discussions

MikroTik App
 
danies
just joined
Topic Author
Posts: 3
Joined: Fri Sep 22, 2017 10:48 am

sript to remove total bytes limit hotspot user

Thu Jan 11, 2018 8:16 pm

hello, ich have 1000 Hotspot User on my router and i want to remove the total bytes download & upload limet for all users.

can someone help me with e script? otherwise i have to touch every single user account.

Thank you
 
User avatar
ADahi
Member Candidate
Member Candidate
Posts: 209
Joined: Thu Sep 21, 2017 7:16 pm
Location: Iraq, Ninavah
Contact:

Re: sript to remove total bytes limit hotspot user

Fri Jan 12, 2018 8:58 pm

if you wan reset all counters of all users use
/ip hotspot user reset-counters [find] 

if you want cancel limit bytes in/out/total of all users use
/ip hotspot user set [find] limit-bytes-in=0 limit-bytes-out=0 limit-bytes-total=0;
 
danies
just joined
Topic Author
Posts: 3
Joined: Fri Sep 22, 2017 10:48 am

Re: sript to remove total bytes limit hotspot user

Sat Jan 20, 2018 11:59 am

Thx,
reset i know, but i want remove the counter from each User profile.

but i have 1000 profiles, does someone has a solution?

thx
 
User avatar
ADahi
Member Candidate
Member Candidate
Posts: 209
Joined: Thu Sep 21, 2017 7:16 pm
Location: Iraq, Ninavah
Contact:

Re: sript to remove total bytes limit hotspot user

Tue Mar 27, 2018 1:19 pm

if you mean disable rate limit of user profiles, use this script:
:foreach UPro in=[/ip hotspot user profile find] do={
 /ip hotspot user profile set $UPro rate-limit="";
}
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: sript to remove total bytes limit hotspot user

Tue Mar 27, 2018 3:04 pm

Or just
/ip hotspot user profile set [find] rate-limit=""

Who is online

Users browsing this forum: No registered users and 14 guests