-14
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
spanning-tree bpdufilter
spanning-tree bpdufilter
To prevent an interface from sending or receiving bridge protocol data units (BPDUs), use the
spanning-tree bpdufilter command in interface configuration mode. To return to the default setting, use
the no form of this command.
spanning-tree bpdufilter {disable | enable}
no spanning-tree bpdufilter
Syntax Description
Defaults BPDU filtering is disabled.
Command Modes Interface configuration
Command History
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.
Caution Enabling BPDU filtering on an STP port is the same as disabling spanning tree on it and can result in
spanning-tree loops.
You can globally enable BPDU filtering on all Port Fast-enabled STP ports by using the spanning-tree
portfast bpdufilter default global configuration command.
You can use the spanning-tree bpdufilter interface configuration command on an STP port to override
the setting of the spanning-tree portfast bpdufilter default global configuration command.
You can verify your setting by entering the show running-config privileged EXEC 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
disable Disables BPDU filtering on the specified STP port.
enable Enables BPDU filtering on the specified STP port.
Release Modification
12.2(52)EY This command was introduced.