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

SNMP trap for STP

Hi,

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?

Thanks,

A

3 REPLIES
Cisco Employee

Re: SNMP trap for STP

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).

Community Member

Re: SNMP trap for STP

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?

regards,

A

Cisco Employee

Re: SNMP trap for STP

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

2616
Views
5
Helpful
3
Replies
CreatePlease to create content