spanning-tree bpdufilter
To enable bridge protocol data unit (BPDU) filtering on the interface, use the spanning-tree bpdufilter
command in interface configuration mode. To return to the default settings, use the no form of this command.
spanning-tree bpdufilter {enable| disable}
no spanning-tree bpdufilter
Syntax Description
Enables BPDU filtering on this interface.enable
Disables BPDU filtering on this interface.disable
Command Default
The setting that is already configured when you enter the spanning-tree portfast bpdufilter default command.
Command Modes
Interface configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS 15.0(2)EX
Usage Guidelines
This command has three states:
• spanning-tree bpdufilter enable —Unconditionally enables BPDU filtering on the interface.
• spanning-tree bpdufilter disable —Unconditionally disables BPDU filtering on the interface.
• no spanning-tree bpdufilter —Enables BPDU filtering on the interface if the interface is in the
operational PortFast state and if you configure the spanning-tree portfast bpdufilter default command.
Be careful when you enter the spanning-tree bpdufilter enable command. Enabling BPDU filtering on
an interface is similar to disabling the spanning tree for this interface. If you do not use this command
correctly, you might create bridging loops.
Caution
You can enable BPDU filtering when the switch is operating in the per-VLAN spanning-tree plus (PVST+)
mode, the rapid-PVST mode, or the multiple spanning-tree (MST) mode.
You can globally enable BPDU filtering on all Port Fast-enabled interfaces with the spanning-tree portfast
bpdufilter default command.
The spanning-tree bpdufilter enable command overrides the PortFast configuration.
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
78 OL-29043 -01
Layer 2 Commands
spanning-tree bpdufilter