Stp Dot1D-Trap - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp instance 2 cost 200
Set the path cost of Ethernet 1/0/1 in MSTI 2 to 200 in system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp interface Ethernet 1/0/1 instance 2 cost 200
# Set the path cost of Ethernet 1/0/2 to Ethernet 1/0/4 in MSTI 2 to 400 in system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp interface Ethernet 1/0/2 to Ethernet 1/0/4 instance 2 cost 400

stp dot1d-trap

Syntax
stp dot1d-[ instance instance-id ] trap [ newroot | topologychange ] enable
undo stp [ instance instance-id ] dot1d-trap [ newroot | topologychange ] enable
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 trap messages conforming to 802.1d
standard 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:
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.
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
topology-change trap functions for the specified spanning tree instance at the same time.
dot1d-trap enable command enables both newroot and
1-21

Advertisement

Table of Contents
loading

Table of Contents