Usage guidelines
PVST BPDU guard enables an MSTP-enabled device to shut down a port if the port receives PVST
BPDUs. The shutdown port is brought up after a detection timer expires. To set the detection timer,
use the
shutdown-interval
Examples
# In MSTP mode, enable PVST BPDU guard.
<Sysname> system-view
[Sysname] stp pvst-bpdu-protection
Related commands
shutdown-interval
stp region-configuration
Use
stp region-configuration
Use
undo stp region-configuration
Syntax
stp region-configuration
undo stp region-configuration
Default
The default settings for an MST region are as follows:
•
The MST region name of the device is its MAC address.
•
All VLANs are mapped to the CIST.
•
The MSTP revision level is 0.
Views
System view
Predefined user roles
network-admin
Usage guidelines
After you enter MST region view, you can configure MST region parameters, including the region
name, VLAN-to-instance mappings, and revision level.
Examples
# Enter MST region view.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region]
stp role-restriction
Use
stp role-restriction
Use
undo stp role-restriction
Syntax
stp role-restriction
command.
(For more information, see Fundamentals Command Reference.)
to enter MST region view.
to enable port role restriction.
to disable port role restriction.
44
to restore the default MST region configurations.