Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-22
View
System view
Parameters
instance-id
: MSTI ID ranging from 0 to 16. The value of 0 refers to CIST. With this
argument specified, the trap messages sent are only of the MSTI identified by this
argument.
newroot
: Sends trap messages conforming to 802.1d standard to the network
management device when the switch becomes the root bridge of an instance.
topologychange
: Sends trap messages conforming to 802.1d standard to the network
management device when the switch detects network topology changes.
Description
Use the
stp dot1d-trap
command to enable a switch to send 802.1d-compliant traps
when MSTP network topology changes.
Use the
undo stp dot1d-trap
command to disable this function.
By default, the switch is not enabled to send 802.1d-compliant topology change
information of spanning tree instances 0 to 16 to the network management device.
By default, when the local switch becomes the regional root of a spanning tree instance
in the range of 0 to 16, it sends newroot traps to the network management device.
When enabled, the switch sends the following two types of 802.1d-compliant traps to
the network management device:
z
When the switch is configured to be the root bridge of a spanning tree instance, it
sends 802.1d-compliant newroot traps to the network management device.
z
When the switch detects a topology change, it sends 802.1d-compliant
topology-change traps to the network management device.
The
stp
instance
instance
-
id
dot1d
-
trap
enable command enables both newroot and
topology-change trap functions for the specified spanning tree instance at the same
time.
Examples
# 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 MSTI 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp instance 1 dot1d-trap newroot enable