Configuring PortFast BPDU Guard on the Switch
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
Console> (enable) set spantree portfast bpdu-guard 6/1 enable
Spantree port
Console> (enable)
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
----- -------- --------- -------- ---------- ----------
10
20
50
100
152
200
300
400
500
521
524
570
801
802
850
917
999
1003
1005
----- -------- --------- -------- ---------- ----------
Total
Disabling PortFast BPDU Guard
To disable PortFast BPDU guard on the switch, perform this task in privileged mode:
Task
Step 1
Disable PortFast BPDU guard on the switch.
Step 2
Verify the PortFast BPDU guard setting.
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
9-12
6/1 bpdu guard enabled.
Blocking Listening Learning Forwarding STP Active
1
0
0
2
0
0
3
0
0
4
0
0
5
0
0
6
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Blocking Listening Learning Forwarding STP Active
0
0
Chapter 9
Configuring Spanning-Tree PortFast, UplinkFast, BackboneFast, and Loop Guard
Chapter 7, "Configuring Spanning Tree."
0
4
0
4
0
4
0
4
0
4
0
4
0
4
0
4
0
4
0
4
0
4
0
5
0
4
0
4
0
4
0
4
0
4
0
4
0
0
0
0
0
4
0
4
0
4
0
0
0
0
0
85
Command
set spantree portfast bpdu-guard mod/port
[disable | enable | default]
show spantree summary
4
4
4
4
4
4
4
4
4
4
4
5
4
4
4
4
4
4
0
0
4
4
4
0
0
85
OL-8978-04