Examples
This example shows how to enable the PortFast feature on a port:
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)#spanning-tree portfast
Related Commands
DescriptionCommand
Enables BPDU filtering on the interface.
spanning-tree bpdufilter
Enables BPDU guard on the interface.
spanning-tree bpduguard
Enables bridge protocol data unit (BDPU) filtering on
PortFast-enabled interfaces.
spanning-tree portfast (global configuration)
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
OL-29043 -01 109
Layer 2 Commands
spanning-tree portfast (interface configuration)