Switch Chip and SNMP

My config (ROS 5.4, RB450G):

/interface ethernet
set ether2 master-port=none
set ether3 master-port=ether2
set ether4 master-port=ether2
set ether5 master-port=ether2

/interface ethernet switch set switch1 switch-all-ports=no

The problem: can’t get data from SNMP in switched/slave ports (except the master-port/ether2).

$ snmpget -v1 -c public 192.0.2.1 .1.3.6.1.2.1.2.2.1.8.4
IF-MIB::ifOperStatus.4 = INTEGER: up(1)

$ snmpget -v1 -c public 192.0.2.1 .1.3.6.1.2.1.2.2.1.10.4
IF-MIB::ifInOctets.4 = Counter32: 0

$ snmpget -v1 -c public 192.0.2.1 .1.3.6.1.2.1.2.2.1.16.4
IF-MIB::ifOutOctets.4 = Counter32: 0

$ snmpget -v1 -c public 192.0.2.1 .1.3.6.1.2.1.2.2.1.11.4
IF-MIB::ifInUcastPkts.4 = Counter32: 0

$ snmpget -v1 -c public 192.0.2.1 .1.3.6.1.2.1.2.2.1.17.4
IF-MIB::ifOutUcastPkts.4 = Counter32: 0

BUG or the feature is disabled in switch chip setup?

snmp can not see traffic which is not passed through CPU, since they are switched.

OK,

but the impossibility to account the traffic (by port, using SNMP) is a huge inconvenient.

Is it valid to RB1100AH or RB1200 too?

I don’t think that’s entirely true. If you look at each slave interface in Winbox, you’ll see there are separate counters under the Overall Stats tab that are kept. Seems like if Winbox can pull these counters, then they exist and should be the counters provided when polling the standard SNMP interface MIBs.

I just reset 'em on a both the master and a slave interface on a 493 and the counters are definitely there, just not available via SNMP apparently.

This is also critical for me— many of our boxes run near wire speed on the interfaces so keeping stats on how close they are to saturation is very important but also impossible with this issue.

Anyone from Mikrotik monitoring this post that could address this?

Paul Yoes, CTO
Aerioconnect

From Mikrotik support today:
If everything goes well, feature will be available in the next RouterOS version (5.9-5.10).

They’re going to fix it…