STP status info trougth SNMP

Good day.

We have one quastion : is it posible to take STP status from mikrotik ports via SNMP, like on any switch like Cisco , HP, and others ?
Reason for this - last rb750 routers, becouse with RSTP bridge enabled this is a good switches, but only one problem - we can’t take stp port status (blocking, forwarding) via snmp, standart mib’s what working fine for switches, don’t work on mikrotik.

As far as I know, currently such option is not available.

Bad… and thanx for answer.

Has there been any update to this? It would be very, very handy to be able to retrieve port status from the bridges.

Actually it is possible to view Bridge FDB information from SNMP, that is what I have in Dude,
FDB.PNG

I did some investigation recently and found no way using SNMP how to check whether a (R)STP port is blocked or not. When using STP it is important to know of the loop is still blocked on a particular port or not (i.e some link stopped to work).

There is dot1dStpPortState property in BRIDGE-MIB which can be used to check the port state for example on cisco switches. It is not supported by ROS…
So how we can check the port state ??


mib-2.17.2.15.1.3.interfaceID

dot1dStpPortState OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
blocking(2),
listening(3),
learning(4),
forwarding(5),
broken(6)

http://www.oidview.com/mibs/0/BRIDGE-MIB.html