608
C
38: MSTP C
HAPTER
Related commands:
Examples
stp bpdu-protection
Syntax
View
Parameters
Description
Examples
C
ONFIGURATION
OMMANDS
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 the ports
in the port group.
To control MSTP flexibly, you can disable the MSTP feature for certain ports so
■
that they will not take part in spanning tree computing and thus to save the
device's CPU resources.
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.
After being enabled, MSTP dynamically maintains spanning tree status of the
■
corresponding VLANs based the received configuration BPDUs. After being
disabled, it stops maintaining the spanning tree status.
Refer to "Link Aggregation Configuration Commands" on page 473 for
■
information about port groups.
stp mode.
# Enable the MSTP feature globally.
<Sysname> system-view
[Sysname] stp enable
# Disable MSTP on port Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] stp disable
stp bpdu-protection
undo stp bpdu-protection
System view
None
Use the
stp bpdu-protection
the device.
Use the
undo stp bpdu-protection
function for the device.
By default, the BPDU guard function is disabled.
# Enable the BPDU guard function for the device.
command to enable the BPDU guard function for
command to disable the BPDU guard