spanning-tree bpdufilter
spanning-tree bpdufilter
Use the spanning-tree bpdufilter interface configuration command to prevent an interface from sending
or receiving bridge protocol data units (BPDUs). Use the no form of this command to return to the
default setting.
Syntax Description
disable
enable
Defaults
BPDU filtering is disabled.
Command Modes
Interface configuration
Command History
Release
12.1(19)EA1
Usage Guidelines
You can enable the BPDU filtering feature when the switch is operating in the per-VLAN spanning-tree
plus (PVST+), rapid-PVST+, or the multiple spanning-tree (MST) mode.
Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in
Caution
spanning-tree loops.
You can globally enable BPDU filtering on all Port Fast-enabled interfaces by using the spanning-tree
portfast bpdufilter default global configuration command.
You can use the spanning-tree bpdufilter interface configuration command to override the setting of
the spanning-tree portfast bpdufilter default global configuration command.
Examples
This example shows how to enable the BPDU filtering feature on a port:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# spanning-tree bpdufilter enable
You can verify your setting by entering the show running-config privileged EXEC command.
Catalyst 3560 Switch Command Reference
2-562
spanning-tree bpdufilter {disable | enable}
no spanning-tree bpdufilter
Disable BPDU filtering on the specified interface.
Enable BPDU filtering on the specified interface.
Modification
This command was introduced.
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
78-16405-05