Is it possible to use SNMP to read the spanning-tree status from Arista switches?
Although it is possible to set up SNMP traps for spanning-tree, I did not find anything related to spanning-tree in the Arista SNMP MIBs list, or any mention of the possibility of querying STP status via SNMP in the documentation.
We have several models, in case that is important (DCS-7050T, DCS-7050QX, DCS-7060CX)
Arista supports RFC 4188: Definitions of Managed Objects for Bridges, which covers Spanning Tree Protocol (STP) under the
dot1dStp Group
(OID 1.3.6.1.2.1.17.2).From there you can obtain information about such things as priority, designated root, topology changes, timers, etc.