Arista - Get STP informations via SNMP

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Stril

Member
Sep 26, 2017
191
12
18
41
Hi!

I am trying to monitor the spanning-tree status of my arista switches via SNMP. With other brands, that was quite easy:

1.3.6.1.2.1.17.2.5.0 --> Current root bridge
1.3.6.1.2.1.17.2.7.0 --> Port to root bridge
1.3.6.1.2.1.17.2.2.0 --> Priority
1.3.6.1.2.1.17.2.3.0 --> Last Change
1.3.6.1.2.1.17.2.4.0 --> Change Counter

1.3.6.1.2.1.17.2.15.1.3 --> Interfaces - Portstate
1.3.6.1.2.1.17.2.15.1.5 --> Interface - Pathcost
1.3.6.1.2.1.17.2.15.1.10 --> Interface - Change Counter

Non of these seem to be available at EOS. Do you have any idea on how to get these values via SNMP, or are they only available through CLI?

Thank you for your help!
Stril
 

Scott Laird

Active Member
Aug 30, 2014
312
144
43
Yeah, Arista seems to be missing this. So does Sonic and VyOS. Juniper, Unifi, and Mikrotik all support it. Sonic and VyOS are probably fixable with a bit of code, which leaves Arista, unfortunately.