Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Dmitriy_Chazov
Contributor
Jump to solution

How to reset counters on interfaces

How to reset counters on interfaces: error, dropped, frame
To understand if there is still a problem.

1 Solution

Accepted Solutions
Timothy_Hall
Legend Legend
Legend

You can most certainly reset interface counters via the steps in sk61500.  Just be aware that reloading a NIC device driver will cause an outage on *all* individual interfaces utilizing that particular driver, including no doubt (in true Murphy's Law fashion) the interface you are currently using for your SSH control connection into the firewall itself.  Careful! 

Kind of like copy/pasting ACL updates on a Cisco and your SSH session freezes up permanently, sparking a panicked sprint to the console...oops.

--
Second Edition of my "Max Power" Firewall Book
Now Available at http://www.maxpowerfirewalls.com

Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com

View solution in original post

7 Replies
ED
Advisor

The easiest way is to reboot if that is an option. Otherwise check this SK How to reset interface counters 

Yonathan_Kazan1
Participant

Reboot not required!

sk61500

You'll have to reload the driver on this NIC

0 Kudos
Timothy_Hall
Legend Legend
Legend

You can most certainly reset interface counters via the steps in sk61500.  Just be aware that reloading a NIC device driver will cause an outage on *all* individual interfaces utilizing that particular driver, including no doubt (in true Murphy's Law fashion) the interface you are currently using for your SSH control connection into the firewall itself.  Careful! 

Kind of like copy/pasting ACL updates on a Cisco and your SSH session freezes up permanently, sparking a panicked sprint to the console...oops.

--
Second Edition of my "Max Power" Firewall Book
Now Available at http://www.maxpowerfirewalls.com

Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com
starmen2000
Collaborator
Collaborator

I am not able to see that sk sk61500. Do you have any idea why it is so?

2023-06-28 13_22_10-Support, Support Requests, Training, Documentation, and Knowledge base for Check.png

 

 

 

 

 

 

0 Kudos
the_rock
Legend
Legend

Either they removed it or its internal sk now.

Timothy_Hall
Legend Legend
Legend

Just tested these expert mode commands on eth1 interface using vmxnet3 driver, and it worked to reset the counters for that interface:

ifconfig eth1 down;ifconfig eth1 up

This should also work:

ifdown eth1;ifup eth1

Can't vouch for whether the above commands will work with igb/ixgbe/mlx* drivers, if they don't try these WHICH WILL CAUSE AN OUTAGE ON ALL INTERFACES USING THE IGB DRIVER in this example, use at your own risk:

modprobe -r igb; modprobe igb

Then you will need to manually re-up all relevant igb-based interfaces like this to get them working again:

ifup eth0

ifup eth1

ifup eth2

etc....

Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com
(1)
PhoneBoy
Admin
Admin

sk61500 is no longer available for two reasons:

  • It's marked Internal
  • It's marked "old" which means it's also not on the new SupportCenter

However, @Timothy_Hall describes the procedure in that SK.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events