snmp-server enable traps stpx
To enable SNMP STPX MIB traps, use the snmp-server enable traps stpx command in global configuration
mode. Use the no form of this command to return to the default setting.
snmp-server enable traps stpx [inconsistency][loop-inconsistency][root-inconsistency]
no snmp-server enable traps stpx [inconsistency][loop-inconsistency][root-inconsistency]
Syntax Description
(Optional) Enables SNMP STPX MIB inconsistency update traps.inconsistency
(Optional) Enables SNMP STPX MIB loop inconsistency update traps.loop-inconsistency
(Optional) Enables SNMP STPX MIB root inconsistency update traps.root-inconsistency
Command Default
The sending of SNMP STPX MIB traps is disabled.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SECisco IOS XE 3.3SE
Usage Guidelines
Specify the host (NMS) that receives the traps by using the snmp-server host global configuration command.
If no trap types are specified, all trap types are sent.
Informs are not supported in SNMPv1.Note
To enable more than one type of trap, you must enter a separate snmp-server enable traps command for
each trap type.
Examples
This example shows how to generate SNMP STPX MIB inconsistency update traps:
Device(config)# snmp-server enable traps stpx inconsistency
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
555
snmp-server enable traps stpx