stp pvst-bpdu-protection
Use stp pvst-bpdu-protection to enable PVST BPDU guard.
Use undo stp pvst-bpdu-protection to disable PVST BPDU guard.
Syntax
stp pvst-bpdu-protection
undo stp pvst-bpdu-protection
Default
PVST BPDU guard is disabled.
Views
System view
Predefined user roles
network-admin
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 command.
Examples
# In MSTP mode, enable PVST BPDU guard.
<Sysname> system-view
[Sysname] stp pvst-bpdu-protection
Related commands
shutdown-interval (For more information, see Fundamentals Command Reference.)
stp region-configuration
Use stp region-configuration to enter MST region view.
Use undo stp region-configuration to restore the default MST region configurations.
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
41