Spanning Tree MIB empty

Unanswered Question
May 20th, 2010

Hi all,

i have a switch (WS-C3560-8PC) Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(50)SE3, RELEASE SOFTWARE (fc1)
where I get no values when asking the spanning tree mib (1.3.6.1.2.1.17.2).

But this switch is configured like all other, where I get values:

spanning-tree mode rapid-pvst
spanning-tree portfast bpduguard default
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
Is this model not supported to use the STP mib, or must i configure something more to get values?

Best Regards

Berthold

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joel Monge Thu, 05/20/2010 - 07:06

  The problem you are seeing might be due to the fact that the BRIDGE-MIB uses community string indexing.  Check the link for details.  Basically, you need to append the VLAN you want to poll at the end of the community string i.e.

snmpwalk -v2c -c [email protected] 10.10.10.1 1.3.6.1.2.1.17

  This would mean you are polling for details on VLAN 30.  If you do not append anything to the community, it will poll the default VLAN.  If there are no ports associated to the default VLAN, then it would be expected not to see any results.


Actions

This Discussion