Enabling Trap Messages Conforming to 802.1d Standard
A switch sends trap messages conforming to 802.1d standard to the network management device in the
following two cases:
The switch becomes the root bridge of an instance.
Network topology changes are detected.
Configuration procedure
Follow these steps to enable trap messages conforming to 802.1d standard:
To do...
Enter system view
Enable trap messages
conforming to 802.1d standard
in an instance
Configuration example
# Enable a switch to send trap messages conforming to 802.1d standard to the network management
device when the switch becomes the root bridge of instance 1.
<Sysname> system-view
[Sysname] stp instance 1 dot1d-trap newroot enable
Displaying and Maintaining MSTP
To do...
Display the state and statistics
information about spanning trees of
the current device
Display region configuration
Display information about the ports
that are shut down by STP
protection
Display information about the ports
that are blocked by STP protection
Display information about the root
port of the instance where the switch
reside
Clear statistics about MSTP
MSTP Configuration Example
Network requirements
Implement MSTP in the network shown in
forwarded along different MSTIs. The detailed configurations are as follows:
Use the command...
system-view
stp [ instance instance-id ]
dot1d-trap [ newroot |
topologychange ] enable
Use the command...
display stp [ instance instance-id ]
[ interface interface-list | slot
slot-number ] [ brief ]
display stp region-configuration
display stp portdown
display stp abnormalport
display stp root
reset stp [ interface interface-list ]
Figure 1-9
to enable packets of different VLANs to be
1-43
Remarks
—
Required
Remarks
Available in any
view
Available in user
view