26-17
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
 
Chapter 26      Configuring Optional STP Features
Enabling PortFast Edge BPDU Filtering
If the port configuration is not set to default, then the PortFast edge configuration does not affect PortFast 
edge BPDU filtering. Table 26-1 lists all the possible PortFast edge BPDU filtering combinations. 
PortFast edge BPDU filtering allows access ports to move directly to the forwarding state as soon as the 
end hosts are connected.
Enabling PortFast Edge BPDU Filtering 
Enabling PortFast Edge BPDU Filtering Globally
This example shows how to enable PortFast edge BPDU filtering as default on all edge ports and verify 
the configuration in PVST+ mode :
Switch(config)# spanning-tree portfast edge bpdufilter default 
Switch(config)# exit 
Switch# show spanning-tree summary totals 
Root bridge for: Bridge VLAN0025
EtherChannel misconfiguration guard is enabled
Extended system ID                  is enabled
PortFast Edge BPDU Guard Default    is disabled
Portfast Edge BPDU Filter Default   is enabled
Portfast Default                    is edge
Bridge Assurance                    is enabled
Loopguard                           is disabled
UplinkFast                          is disabled
BackboneFast                        is disabled
Pathcost method used is long
Name                   Blocking Listening Learning Forwarding STP Active
Table 26-1 PortFast Edge BPDU Filtering Port Configurations
Per-Port Configuration Global Configuration PortFast Edge State 
PortFast Edge BPDU Filtering 
State 
Default Enable Enable Enable
1
1. The port transmits at least 10 BPDUs. If this port receives any BPDUs, then PortFast edge and PortFast edge BPDU filtering 
are disabled.
Default Enable Disable Disable
Default Disable Not applicable Disable
Disable Not applicable Not applicable Disable
Enable Not applicable Not applicable Enable
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# spanning-tree portfast edge 
bpdufilter default
Enables BPDU filtering globally by default on all edge 
ports of the switch. Use the no prefix to disable BPDU 
filtering by default on all edge ports of the switch. 
Step 3
Switch# show spanning-tree summary totals
Verifies the BPDU configuration.