3com 8807 User Guide
150
C
HAPTER
17: MSTP R
EGION
-
CONFIGURATION
MSTP can be enabled/disabled on a port through the following ways.
Configuration in system view
Perform the following configuration in system view.
Configuration in Ethernet port view
Perform the following configuration in Ethernet port view.
You can enable/disable MSTP on a port with either of the earlier-mentioned
measures. Note that redundant route may be generated after MSTP is disabled.
measures. Note that redundant route may be generated after MSTP is disabled.
By default, MSTP is enabled on all the ports after it is enabled on the device.
Disabling BPDU Packets
from Flooding in the
Default VLANs
If STP (spanning tree protocol) is not enabled, or if STP is disabled on a port
though it is enabled globally, the BPDU packets through the STP-disabled port will
be broadcast in the default VLAN, and these BPDU packets will affect the STP
operation on other ports. The stp non-flooding command can discard the BPDU
packets entering the STP-disabled port of the interface card, and thus prohibiting
the BPDU packets from being broadcast in the VLAN.
though it is enabled globally, the BPDU packets through the STP-disabled port will
be broadcast in the default VLAN, and these BPDU packets will affect the STP
operation on other ports. The stp non-flooding command can discard the BPDU
packets entering the STP-disabled port of the interface card, and thus prohibiting
the BPDU packets from being broadcast in the VLAN.
c
CAUTION: It is recommended that after enabling STP, you disable the
broadcasting function of BPDU to prevent the BPDU packets, which are received
by ports that did not participate in the generation of spanning trees, from being
forwarded to other ports, (which can cause errors during STP generations). Avoid
using this function on VPLS-enabled I/O Modules so that STP packets can be
forwarded in the VPLS network transparently
broadcasting function of BPDU to prevent the BPDU packets, which are received
by ports that did not participate in the generation of spanning trees, from being
forwarded to other ports, (which can cause errors during STP generations). Avoid
using this function on VPLS-enabled I/O Modules so that STP packets can be
forwarded in the VPLS network transparently
Displaying and
Debugging MSTP
Debugging MSTP
After the above configuration, execute the display command in any view to
display the running of the MSTP configuration, and to verify the effect of the
configuration. Execute the reset stp [ interface interface-list ] command in user
view to clear the statistics of MSTP module. Execute the debugging command in
user view to debug the MSTP module
display the running of the MSTP configuration, and to verify the effect of the
configuration. Execute the reset stp [ interface interface-list ] command in user
view to clear the statistics of MSTP module. Execute the debugging command in
user view to debug the MSTP module
Table 133 Enable/Disable MSTP on a port
Operation
Command
Enable MSTP on a port
stp interface interface-list enable
Disable MSTP on a port
stp interface interface-list disable
Table 134 Enable/Disable MSTP on a port
Operation
Command
Enable MSTP on a port
stp enable
Disable MSTP on a port
stp disable
Table 135 Disable BPDU packets from being broadcast on the default VLANs
Operation
Command
Description
Enter system view
system-view
-
Disable BPDU packets from
being broadcast on
STP-disabled ports
being broadcast on
STP-disabled ports
stp non-flooding [ slot
slotnum ]
slotnum ]
By default, BPDU packets are
broadcast on STP-disabled
ports.
broadcast on STP-disabled
ports.