spanning-tree bpdufilter
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
enable
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
Release
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
Caution
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.
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
operational PortFast state and if you configure the spanning-tree portfast bpdufilter default command.
Enables BPDU filtering on this interface.
Disables BPDU filtering on this interface.
Modification
This command was introduced.
Layer 2 Commands
OL-29043 -01