9-9
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 9 Configuring Spanning Tree PortFast, UplinkFast, BackboneFast, and Loop Guard
Configuring PortFast BPDU Guard
Configuring PortFast BPDU Guard
These sections describe how to configure PortFast BPDU guard on the switch:
•
Enabling PortFast BPDU Guard, page 9-9
•
Disabling PortFast BPDU Guard, page 9-10
Enabling PortFast BPDU Guard
Note
Although the PortFast feature is configured on an individual port, the PortFast BPDU guard option
is configured globally. When you disable PortFast on a port, PortFast BPDU guard becomes inactive.
To enable PortFast BPDU guard on a nontrunking switch port, perform this task in privileged mode:
This example shows how to enable PortFast BPDU guard on the switch and verify the configuration in
the Per VLAN Spanning Tree + (PVST+) mode:
Note
For additional PVST+ information, see
Chapter 8, “Configuring Spanning Tree.”
Console> (enable)
set spantree portfast bpdu-guard enable
Spantree portfast bpdu-guard enabled on this switch.
Console> (enable)
show spantree summary
Root switch for vlans: none.
Portfast bpdu-guard enabled for bridge.
Uplinkfast disabled for bridge.
Backbonefast disabled for bridge.
Vlan Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
1 0 0 0 4 4
2 0 0 0 4 4
3 0 0 0 4 4
4 0 0 0 4 4
5 0 0 0 4 4
6 0 0 0 4 4
10 0 0 0 4 4
20 0 0 0 4 4
50 0 0 0 4 4
100 0 0 0 4 4
152 0 0 0 4 4
200 0 0 0 5 5
300 0 0 0 4 4
400 0 0 0 4 4
500 0 0 0 4 4
521 0 0 0 4 4
524 0 0 0 4 4
570 0 0 0 4 4
801 0 0 0 0 0
Task
Command
Step 1
Enable PortFast BPDU guard on the switch.
set spantree portfast bpdu-guard enable
Step 2
Verify the PortFast BPDU guard setting.
show spantree summary