Layer 2 Commands
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
Command
spanning-tree bpdufilter
spanning-tree bpduguard
spanning-tree portfast (global configuration)
OL-29043 -01
Description
Enables BPDU filtering on the interface.
Enables BPDU guard on the interface.
Enables bridge protocol data unit (BDPU) filtering on
PortFast-enabled interfaces.
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
spanning-tree portfast (interface configuration)
109