![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 169](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462169.webp)
8-13
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 8 Configuring Spanning Tree PortFast, BPDU Guard, BPDU Filter, UplinkFast, BackboneFast, and Loop Guard
Configuring PortFast BPDU Filtering
3 0 0 0 4 4
4 0 0 0 4 4
.
.
.
1003 0 0 0 0 0
1005 0 0 0 0 0
Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
Total 0 0 0 85 85
Console> (enable)
Configuring PortFast BPDU Filtering
The following sections describe how to configure PortFast BPDU filtering on the switch.
Enabling PortFast BPDU Filtering
Note
Although you can configure PortFast on an individual port, you configure the PortFast BPDU filtering
option globally. When you disable PortFast on a port, PortFast BPDU filtering becomes inactive for that
port.
To enable PortFast BPDU filtering, perform this task in privileged mode:
Note
For additional PVST+ information, see
Chapter 7, “Configuring Spanning Tree.”
By default, BPDU filtering is set for each port. This example shows how to enable PortFast BPDU
filtering on the port and verify the configuration in PVST+ mode:
Console> (enable) set spantree portfast bpdu-filter 6/1 enable
Warning:Ports enabled with bpdu filter will not send BPDUs and drop all
received BPDUs. You may cause loops in the bridged network if you misuse
this feature.
Console> (enable) show spantree summary
Root switch for vlans: none.
Portfast bpdu-filter enabled for bridge.
Uplinkfast disabled for bridge.
Backbonefast disabled for bridge.
Vlan Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
1 0 0 0 4 4
Task
Command
Step 1
Enable BPDU filtering state on the port.
set spantree portfast bpdu-filter mod/port
[disable | enable | default]
Step 2
Verify PortFast BPDU filtering setting.
show spantree summary