cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2501
Views
0
Helpful
1
Replies

Port-based RSTP Monitoring via SNMP

gregoryalussier
Level 1
Level 1

Hi everyone,

I was wondering if there was any way to monitor a switch port using the SNMP protocol to poll for information about the RSTP port state? For instance, I would like to trigger alerts when a ports transitions from forwarding to blocking state. I tried to find the MIB there http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml but I could not find any matching my needs.

Thanks a lot,

G.

1 Reply 1

Dan Frey
Cisco Employee
Cisco Employee

BRIDGE-MIB has the OIDs to monitor RSTP. 

  topologyChange NOTIFICATION-TYPE

       -- OBJECTS     { }

       STATUS      current

       DESCRIPTION

           "A topologyChange trap is sent by a bridge when any of

           its configured ports transitions from the Learning state

           to the Forwarding state, or from the Forwarding state to

           the Blocking state.  The trap is not sent if a newRoot

           trap is sent for the same transition.  Implementation of

           this trap is optional."

       ::= { dot1dNotifications 2 }

dot1dStpPortState OBJECT-TYPE

       SYNTAX      INTEGER {

                       disabled(1),

                       blocking(2),

                       listening(3),

                       learning(4),

                       forwarding(5),

                       broken(6)

                   }

       MAX-ACCESS  read-only

       STATUS      current

       DESCRIPTION

           "The port's current state, as defined by application of

           the Spanning Tree Protocol.  This state controls what

           action a port takes on reception of a frame.  If the

           bridge has detected a port that is malfunctioning, it

           will place that port into the broken(6) state.  For

           ports that are disabled (see dot1dStpPortEnable), this

           object will have a value of disabled(1)."

       REFERENCE

           "IEEE 802.1D-1998: clause 8.5.5.2"

       ::= { dot1dStpPortEntry 3 }

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: