Reply
Highlighted
New Member
Posts: 3
Registered: ‎02-25-2015
Kudos: 2
Accepted Solution

Clear flow-accounting counters

I typed in the command "set system flow-accounting interface switch0" so I can see what's happening.  A bunch of bandwidth was being used so I type in "clear flow-accounting counters" and it cleared "show flow-accounting" but not "show flow-accounting egress".  Can you tell me how to clear the "show flow-accounting egress" counters without rebooting?  I'm currently running 1.6.0 on an EdgeRouter PoE 5-Port.  Thanks.


Accepted Solutions
Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5457
Solutions: 1656
Contributions: 2

Re: Clear flow-accounting counters

Yeah that looks like a bug. Could you try running the following command:

sudo /opt/vyatta/bin/sudo-users/vyatta-show-acct.pl --dir egress --action clear

 We should get this fixed too of course. Thanks for reporting the issue!

View solution in original post


All Replies
Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5457
Solutions: 1656
Contributions: 2

Re: Clear flow-accounting counters

Yeah that looks like a bug. Could you try running the following command:

sudo /opt/vyatta/bin/sudo-users/vyatta-show-acct.pl --dir egress --action clear

 We should get this fixed too of course. Thanks for reporting the issue!

New Member
Posts: 3
Registered: ‎02-25-2015
Kudos: 2

Re: Clear flow-accounting counters

I typed in the following command and it cleared the counters.  Thanks for posting it and added it to the next release.

 

sudo /opt/vyatta/bin/sudo-users/vyatta-show-acct.pl --dir egress --action clear

 

 

 

Reply