Operation Manual – MSTPH3C S5100-SI/EI Series Ethernet Switches Chapter 1 MSTP Configuration1-55The stp instance instance-id dot1d-trap enable command enables both newroot andtopology-change trap functions for the specified spanning tree instance at the sametime.I. Configuration procedureFollow these steps to enable trap messages conforming to 802.1d standard:To do... Use the command... RemarksEnter system view system-view —Enable trap messagesconforming to 802.1dstandard in an instancestp [ instance instance-id ]dot1d-trap [ newroot |topologychange ] enableRequiredII. Configuration example# Enable a switch to send trap messages conforming to 802.1d standard to the networkmanagement device when the switch becomes the root bridge of instance 1. system-view[Sysname] stp instance 1 dot1d-trap newroot enable1.12 Displaying and Maintaining MSTPTo do... Use the command... RemarksDisplay the state and statisticsinformation about spanningtrees of the current devicedisplay stp [ instanceinstance-id ] [ interfaceinterface-list | slot slot-number ][ brief ]Display region configuration display stpregion-configurationDisplay information about theports that are shut down bySTP protectiondisplay stp portdownDisplay information about theports that are blocked by STPprotectiondisplay stp abnormalportDisplay information about theroot port of the instance wherethe switch residedisplay stp rootAvailable inany viewClear statistics about MSTP reset stp [ interfaceinterface-list ]Available inuser view