2-1007
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
spanning-tree portfast (interface configuration mode)
• no spanning-tree portfast—This command implicitly enables PortFast if the spanning-tree
portfast default command is defined in global configuration and if the port is not a trunk port. If
you do not configure PortFast globally, the no spanning-tree portfast command is equivalent to the
spanning-tree portfast disable command.
Examples This example shows how to enable PortFast mode:
Switch(config-if)# spanning-tree portfast
Switch(config-if)
Related Commands Command Description
spanning-tree cost Calculates the path cost of STP on an interface.
spanning-tree portfast default Enables PortFast by default on all access ports.
spanning-tree port-priority Prioritizes an interface when two bridges compete for
position as the root bridge.
spanning-tree uplinkfast Enables the UplinkFast feature.
spanning-tree vlan Configures STP on a per-VLAN basis.
show spanning-tree Displays spanning-tree state information.