SNMP trap for STP

Unanswered Question
Mar 15th, 2010


does command "snmp-server enable traps bridge newroot topologychange" work for all spanning tree modes (PVST, RPVST, MST)?

i.e. will it be sent when there is new root in MST, or if there is new root in one VLAN in PVST+?

Is there information in the trap which bridge ID is new root?

And regarding topology change, shall all bridges send "topologychange" TRAP to SNMP server, since TCN is usually spread to all switches in MST (or PVST) region?



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Joe Clarke Mon, 03/15/2010 - 21:27

While I haven't tested this personally, the code indicates this trap is applicable to PVST, RSTP, and MSTP.  The trap will only be sent from switches that have an STP port state change (i.e. a port goes from forwarding to blocking for an instance of ST).

Antonio_1_2 Tue, 03/16/2010 - 03:41

Thank you Joe.

And do you know maybe for "newroot" trap if it contains bridge ID of a new root  bridge, or it just indicate that change of root bridge happened?



Joe Clarke Fri, 03/19/2010 - 10:35

It just indicates the root changed.  It will contain a varbind to indicate the VLAN or STP instance which experienced the change.


This Discussion