Page 1 of 1

Resetting Counters in the Interface List

Posted: Tue Oct 26, 2010 11:50 am
by Trezona
Hello,

Would it be possible to reset the counters individually in the Interface list?

The only way i can do this at the moment is to reboot the mikrotik device...

Thanks.

Re: Resetting Counters in the Interface List

Posted: Tue Oct 26, 2010 8:10 pm
by Chupaka
yeah, I was always wondering, what "/interface ethernet reset-counters" is... does it change at least something?..

Re: Resetting Counters in the Interface List

Posted: Tue Oct 26, 2010 8:25 pm
by Trezona
yeah, I was always wondering, what "/interface ethernet reset-counters" is... does it change at least something?..
No! sorry, thats not what i meant!

What i failed to add was there is no "Reset Counters" or "Reset All Counters" in Winbox under Interfaces/interface....

Re: Resetting Counters in the Interface List

Posted: Wed Feb 02, 2011 11:22 am
by lorell
OK. Seriously, how do I reset the RX error count on an ethernet interface?
/interface ethernet reset-counters
...seems to do nothing. 5.0rc7 on x86.

Re: Resetting Counters in the Interface List

Posted: Wed Feb 02, 2011 4:15 pm
by janisk
that can only be done using CLI at the moment with this command
/interface ethernet reset-counters <interface>

Re: Resetting Counters in the Interface List

Posted: Sat Feb 12, 2011 3:01 am
by DonGould
Command doesn't seem to work on an RB750.

Image

Re: Resetting Counters in the Interface List

Posted: Sun May 08, 2011 8:36 am
by Xerbi999
An Update would be nice on this. It neither works on a RB433 (ROS 4.17)

Re: Resetting Counters in the Interface List

Posted: Sun May 08, 2011 11:27 am
by DonGould
An Update would be nice on this. It neither works on a RB433 (ROS 4.17)
I couldn't get it to work on 5.1 on my 750 when I upgraded either. Some of the counters did seem to reset, but not all.

D

Re: Resetting Counters in the Interface List

Posted: Fri May 13, 2011 1:00 pm
by janisk
on interface counters it has to be driver supported. Some interfaces support that, some do not or do not yet.

Like Rb800, RB433 has this feature supported.
(/system ethernet reset-counters ether1)

edit:forgot to montion - use latest RouterOS version. in this case 5.x

Re: Resetting Counters in the Interface List

Posted: Fri May 13, 2011 1:29 pm
by Chupaka
will you add that to VLAN driver? ppp interfaces?..

Re: Resetting Counters in the Interface List

Posted: Sun Nov 04, 2012 3:17 pm
by BrianHiggins
will you add that to VLAN driver? ppp interfaces?..

Any update on resetting PPP interfaces? Clearly that isn't drive dependant...

Re: Resetting Counters in the Interface List

Posted: Fri May 10, 2013 8:03 pm
by russman
I'm running 5.22 on x86 and I it takes the /interface ethernet reset-counters ether1 command but it does nothing still.

Re: Resetting Counters in the Interface List

Posted: Sun Jan 12, 2014 7:24 am
by postavik
RouterOS 6.7. The problem still remains...

Re: Resetting Counters in the Interface List

Posted: Mon Jun 30, 2014 12:18 pm
by Krisken
Even with routerOS 6.15 is remains on my RB2011UAS.

The modem of my ISP is connected on port 10 and i have a provider with a datalimit (100GB/month). So it would be nice if i could see how much i've already downloaded/uploaded etc...

Re: Resetting Counters in the Interface List

Posted: Fri Jan 30, 2015 4:36 pm
by Zilog
Resetting PPP interface would be nice!

What i found out...and it's works for me
Remove the PPP interface and undo the remove.
by scrip:
/interface disable PPP1;
:delay 1s;
/interface ppp-client remove PPP1;
:delay 1s;
:undo;
:delay 1s;
/interface enable PPP1;

Prevent If the router has a power loss or whatever under the "resetting"...
can make a startup Boot script to recover or enable the PPP interface if it's required...