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
mdc-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.)