Specifications

2-803
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
spanning-tree bpdufilter
spanning-tree bpd ufilter
To enable BPDU filtering on an interface, use the spanning-tree bpdufilter command. To return to the
default settings, use the no form of this command.
spanning-tree bpdufilter {enable | disable}
no spanning-tree bpdufilter
Syntax Description
Defaults Disabl ed
Command Modes Interface configur ation mode
Usage Guidelines
Caution Use care when entering the spanning-tree bpdufilter enable command. Enabling BPDU filtering on an
interface is approximately equivalent to disabling the spanning tree for this interface. It is possible to
create bridging loops if this comma nd is not correctly used .
When configuring Layer 2 pr otocol tun neling on a ll the se rvice provi der edg e switches, yo u must ena ble
spanning-tree BPDU filtering on the 802.1Q tunnel ports by entering the spanning-tree bpdufilter
enable c ommand.
BPDU filtering allows you to prevent a port from sending and receiving BPDUs. The configuration is
applicable to the whole interface, whether it is trunking or not. This command has three states:
spanning-tree bpdufilter enable—This state unconditionally enables the BPDU filter feature on
the interface.
spanning-tree bpdufilter disable—This state unconditionally disables the BPDU filter feature on
the interface.
no spanning-tree bpdufilter—This state enables the BPDU filter feature on the interface if the
interface is in operational PortFast state and if the spanning-tree portfast bpdufilter default
command is configured.
Examples This example shows how to enable the BPDU filter feature on this interface:
Switch(config-if)# spanning-tree bpdufilter enable
Switch(config-if)#
Related Commands
enable Enables BPDU filtering on this interface.
disable Disables BPDU filtering on this interface.