Setting up read-only SNMP community and sending SNMP traps to a central SNMP trap receiver, on Cisco devices. Some options like Spanning-tree, under the trap configuration, will not neccessary be available on all devices.
Configuring the SNMP community string and allow only the “Trap server” to connect “read-only” mode to it:
1 2 3
Specifying specific events that will trigger a message to be send to the “Trap server”:
1 2 3 4 5 6
Verifying the SNMP configuration:
Having a “Trap server” with the above configuration, makes life much easier to monitor the network or be notified of events that will normally not be picked up with general monitoring software. I am specifically pointing here at Spanning-tree related events.