stp bpdu-protection

Syntax

stp bpdu-protection

undo stp bpdu-protection

View

System view

Default level

2: System level

Parameters

None

Description

Use stp bpdu-protection to globally enable the BPDU guard function.

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

By default, the BPDU guard function is globally disabled.

Examples

# Enable the BPDU guard function globally.

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