2-442
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
spanning-tree portfast bpdufilter default
spanning-tree portfast bpdufilter default
To enable the BPDU filtering by default on all PortFast ports, use the spanning-tree portfast bpdufilter
default command. To return to the default settings, use the no form of this command.
spanning-tree portfast bpdufilter default
no spanning-tree portfast bpdufilter default
Syntax Description This command has no keywords or arguments.
Defaults BPDU filtering is disabled.
Command Modes Global configuration
Command History
Usage Guidelines The spanning-tree portfast bpdufilter default command enables BPDU filtering globally on the
Catalyst4500 series switch. BPDU filtering prevents a port from sending or receiving any BPDUs.
You can override the effects of the spanning-tree portfast bpdufilter default command by configuring
BPDU filtering at the interface level.
Note Be careful when enabling BPDU filtering. Functionality is different when enabling on a per-port basis
or globally. When enabled globally, BPDU filtering is applied only on ports that are in an operational
PortFast state. Ports still send a few BPDUs at linkup before they effectively filter outbound BPDUs. If
a BPDU is received on an edge port, it immediately loses its operational PortFast status and BPDU
filtering is disabled.
When enabled locally on a port, BPDU filtering prevents the Catalyst4500 series switch from receiving
or sending BPDUs on this port.
Caution Be careful when using this command. This command can cause bridging loops if not used correctly.
Examples This example shows how to enable BPDU filtering by default:
Switch(config)# spanning-tree portfast bpdufilter default
Switch(config)#
Release Modification
12.1(12c)EW Support for this command was introduced on the Catalyst 4500 series switch.