26-18
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
---------------------- -------- --------- -------- ---------- ----------
2 vlans                   0        0         0        3          3 
Note For PVST+ information, see Chapter 23, “Configuring STP and MST.” 
Enabling PortFast Edge BPDU Filtering on a Specified Interface
This example shows how to enable PortFast edge BPDU filtering on port 4/4:
Switch(config)# interface fastethernet 4/4
Switch(config-if)# spanning-tree bpdufilter enable 
Switch(config-if)# end
This example shows how to verify that PortFast edge BPDU filtering is enabled:
Switch# show spanning-tree interface fastethernet 4/4
Vlan             Role Sts Cost      Prio.Nbr Status
---------------- ---- --- --------- -------- --------------------------------
VLAN0010         Desg FWD 1000      160.196  Edge P2p 
This example shows more detail on the port:
Switch# show spanning-tree interface fastEthernet 4/4 detail 
   Port 196 (FastEthernet4/4) of VLAN0002 is forwarding 
   Port path cost 4, Port priority 128, Port Identifier 128.269.
   Designated root has priority 32770, address 0002.172c.f400
   Designated bridge has priority 32770, address 0002.172c.f400
   Designated port id is 128.269, designated path cost 0
   Timers: message age 0, forward delay 0, hold 0
   Number of transitions to forwarding state: 1
   Link type is point-to-point by default
   Loop guard is enabled by default on the port
   The port is in portfast edge trunk mode 
   Link type is point-to-point by default
   BPDU:sent 2183, received 0
Switch#
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# interface {{fastethernet | 
gigabitethernet | tengigabitethernet} slot/port} | 
{port-channel port_channel_number}
Specifies an interface to configure.
Step 3
Switch(config-if)# spanning-tree bpdufilter [enable | 
disable]
Enables or Disables BPDU filtering.
Step 4
Switch# show spanning-tree interface {type slot/port} 
Verifies the configuration.