I have RB2011UiAS and use snmp oid (.1.3.6.1.2.1.17.4.3.1.2) for check mac in mac-table, but recently this oid returns: “iso.3.6.1.2.1.17.4.3.1.2 = No Such Object available on this agent at this OID”
Snmp is enabled and running. Another oid (iso.3.6.1.2.1) returns a lot of things.
I checked this oid on several different routerboards: another RB2011 and RB751/951. Also I used different firmware: 6.40.5, 6.40.4, 6.39.2. But on some routers oid returns correctly, on others oid returns “No Such Object available on this agent at this OID”
I tried .1.3.6.1.2.1.17.4.3.1.2 and 1.3.6.1.2.1.17.4.3.1.2
Same problem: “No Such Object available on this agent at this OID”
I don’t see that problem with the OID you show, I use that regularly in a network documentation script.
I use that regularly too. I wrote above: "I checked this oid on several different routerboards: another RB2011 and RB751/951. Also I used different firmware: 6.40.5, 6.40.4, 6.39.2. But on some routers oid returns correctly, on others oid returns "
Of course it can do that when it has no entry in the MAC address table, but that is probably rare.
I think you’ll need to do some more investigation. E.g. login to the router and see what is in the ARP and Switch host tables.
It is a known issue that port numbers are not correct in a switched configuration (no problem with bridged) but that is not your problem it seems.