User's Manual

241
The STP trap can be received only when the network management software supports trap
reception. The network management need be imported into the bridge MIB and OID is
1.3.6.1.2.1.17.
Run the following commands in global configuration mode to enable the STP trap:
Command Purpose
spanning-tree management trap
[ newroot | topologychange ]
Enables the STP trap.
If the trap type is not designated, two kinds of
traps will be enabled at the same time.
no spanning-tree management trap
Disables the STP trap.
34.4 Setting the Spanning Tree of VLAN
34.4.1 Overview
In SSTP mode, the whole network only has one spanning-tree instance, and the state of a port in the spanning
tree decides its state in all VLANs. When multiple VLANs exist in a network, the isolation between SSTP and
VLAN topology may lead to the communication block of some network parts.
The switch supports that independent SSTP runs on a certain number of VLANs and guarantees that a port
has different states in different VLANs. At the same time the flow balance can be realized between VLANs.
It should be noted that the VLAN number which can independently running STP protocol depends on the actual
version. Othter VLAN topology exceeding the number limit will not affected by STP.
34.4.2 VLAN STP Configuration Tasks
Run the following commands to set the features of SSTP in VLAN:
Command Purpose
spanning-tree mode pvst
Enables STP distribution according to VLAN.
spanning-tree vlan
vlan-list
Distributes the STP instance for a designated
VLAN.
vlan-list means the VLAN list (similarly
hereinafter).
no spanning-tree vlan
vlan-list
Deletes the spanning-tree instance in a
designated VLAN
spanning-tree vlan
vlan-list
priority
value
Sets the spanning-tree priority in a designated
VLAN.
no spanning-tree
vlan-list
priority
Resumes the spanning-tree priority in a VLAN
to the default value.
spanning-tree vlan
vlan-list
forward-time
value
Sets the Forward Delay of a designated VLAN.
no spanning-tree vlan
vlan-list
forward-time
Resumes the Forward Delay of a designated
VLAN.
spanning-tree vlan
vlan-list
max-age
value
Sets the max age of a designated VLAN.
no spanning-tree vlan
vlan-list
max-age
Resumes the Max-Age of a designated VLAN
to the default value.
spanning-tree vlan
vlan-list
hello-time
value
Sets the Hello-time of a designated VLAN.