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....
Attend my 60-minute "Be your Own TAC: Part Deux" Presentation
Exclusively at CPX 2025 Las Vegas Tuesday Feb 25th @ 1:00pm