Enabling PortFast BPDU Filtering
Name
---------------------- -------- --------- -------- ---------- ----------
VLAN0001
VLAN0010
---------------------- -------- --------- -------- ---------- ----------
2 vlans
Router#
Router# show spanning-tree interface fastEthernet 4/4 detail
Port 196 (FastEthernet4/4) of VLAN0010 is forwarding
Port path cost 1000, Port priority 160, Port Identifier 160.196.
Designated root has priority 32768, address 00d0.00b8.140a
Designated bridge has priority 32768, address 00d0.00b8.140a
Designated port id is 160.196, designated path cost 0
Timers:message age 0, forward delay 0, hold 0
Number of transitions to forwarding state:1
The port is in the portfast mode by default
Link type is point-to-point by default
BPDU:sent 10, received 0
Router(config-if)# spanning-tree portfast trunk
%Warning:portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface
Use with CAUTION
Router(config-if)# ^Z
Router# show spanning-tree interface fastEthernet 4/4 detail
Port 196 (FastEthernet4/4) of VLAN0010 is forwarding
Port path cost 1000, Port priority 160, Port Identifier 160.196.
Designated root has priority 32768, address 00d0.00b8.140a
Designated bridge has priority 32768, address 00d0.00b8.140a
Designated port id is 160.196, designated path cost 0
Timers:message age 0, forward delay 0, hold 0
Number of transitions to forwarding state:1
The port is in the portfast mode by portfast trunk configuration
Link type is point-to-point by default
BPDU:sent 30, received 0
Router#
Enabling PortFast BPDU Filtering
These sections describe how to configure PortFast BPDU filtering.
To enable PortFast BPDU filtering globally, perform this task:
Command
Step 1
Router(config)# spanning-tree portfast
bpdufilter default
Step 2
Router# show spanning-tree summary totals
BPDU filtering is set to default on each port. This example shows how to enable PortFast BPDU filtering
on the port and verify the configuration in PVST+ mode:
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
21-10
Blocking Listening Learning Forwarding STP Active
0
0
0
when portfast is enabled, can cause temporary bridging loops.
Chapter 21
0
0
1
0
0
2
0
0
3
Purpose
Enables BPDU filtering globally on the router.
Verifies the configuration.
Configuring Optional STP Features
1
2
3
OL-4266-08