Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

SNMP or syslog on Spanning Tree topology changes

We have a stack of 2960s that have some spanning tree problems.  No ports are going up/down.  The backplane stacking modules seem to be causing spanning tree to reconverge.  We verify this with

show spanning-tree detail | in is executing|from|topology change

And it shows frequent topology changes (despite no physical changes).

Is there a way to get SNMP traps or syslog entries when spanning tree detects a topology change?

Thanks

Tom

Everyone's tags (3)
1 REPLY
Cisco Employee

Re: SNMP or syslog on Spanning Tree topology changes

Tom,

I do not think the switch logs spanning-tree status change for interfaces, by default.

Under the interface, you may want to enable "logging event spanning-tree".

Please be aware that this command print a message for every status change, for every vlan. For e.g., if a trunk link has 100 vlans and it is going from blocking-->listening-->learning-->forwarding (totally 3 state changes), then the switch reports around 300 messages, 3 for each vlan.

I am not a SNMP expert. I hope, this may help you.

MIB supported in Cat 2960S:

http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_55_se/configuration/guide/swmibs.html

CISCO-STP-EXTENSIONS-MIB is the MIB that has spanning-tree related info.

- Yogesh

3812
Views
0
Helpful
1
Replies
CreatePlease to create content