150
C
17: MSTP R
HAPTER
Disabling BPDU Packets
from Flooding in the
Default VLANs
Displaying and
Debugging MSTP
-
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.
Table 133 Enable/Disable MSTP on a port
Operation
Enable MSTP on a port
Disable MSTP on a port
Configuration in Ethernet port view
Perform the following configuration in Ethernet port view.
Table 134 Enable/Disable MSTP on a port
Operation
Enable MSTP on a port
Disable MSTP on a port
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.
By default, MSTP is enabled on all the ports after it is enabled on the device.
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.
Table 135 Disable BPDU packets from being broadcast on the default VLANs
Operation
Enter system view
Disable BPDU packets from
being broadcast on
STP-disabled ports
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
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
Command
stp interface interface-list enable
stp interface interface-list disable
Command
stp enable
stp disable
Command
system-view
stp non-flooding [ slot
slotnum ]
Description
-
By default, BPDU packets are
broadcast on STP-disabled
ports.
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers