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 disabled globally.

Views

System view

Predefined user roles

network-admin

Examples

# Enable BPDU guard globally.

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

Related commands

stp edged-port

stp port bpdu-protection