stp bpdu-protection

Use stp bpdu-protection to enable BPDU guard globally.

Use undo stp bpdu-protection to disable BPDU guard globally.

Syntax

stp bpdu-protection

undo stp bpdu-protection

Default

BPDU guard is globally disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable BPDU guard globally.

<Sysname> system-view
[Sysname] stp bpdu-protection

Related commands

stp edged-port

stp port bpdu-protection