Command Manual – MSTP
H3C S7500E Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-15
z
After you enable MSTP, the device determines whether to work in STP-compatible
mode, in RSTP mode or in MSTP mode according to your MSTP work mode
setting. After MSTP is disabled, the device becomes a transparent bridge.
z
After being enabled, MSTP dynamically maintains spanning tree status of the
corresponding VLANs based on the received configuration BPDUs. After being
disabled, it stops maintaining the spanning tree status.
z
Configured in system view, the setting is effective for the device globally;
configured in Ethernet interface view, the setting is effective on the current port
only; configured in port group view, the setting is effective on all ports in the port
group.
Related commands:
stp mode
.
Examples
# Enable the MSTP feature globally.
<Sysname> system-view
[Sysname] stp enable
# Disable MSTP on port GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] stp disable
1.1.15 stp bpdu-protection
Syntax
stp bpdu-protection
undo stp
bpdu-protection
View
System view
Parameters
None
Description
Use the
stp bpdu-protection
command to enable the BPDU guard function for the
device.
Use the
undo stp bpdu-protection
command to disable the BPDU guard function for
the device.
By default, the BPDU guard function is disabled.