2-1011
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 default
spanning-tree portfast default
To globally enable PortFast by default on all access ports, use the spanning-tree portfast default
command. To disable PortFast as default on all access ports, use the no form of this command.
spanning-tree portfast default
no spanning-tree portfast default
Syntax Description This command has no arguments or keywords.
Defaults PortFast is disabled.
Command Modes Global configuration mode
Command History
Usage Guidelines
Caution Use this command only with the interfaces that connect to end stations; otherwise, an accidental
topology loop could cause a data packet loop and disrupt the Catalyst 4500 series switch and network
operation.
An interface with PortFast mode enabled is moved directly to the spanning-tree forwarding state when
linkup occurs without waiting for the standard forward-time delay.
You can enable PortFast mode on individual interfaces using the spanning-tree portfast (interface
configuration mode) command.
Examples This example shows how to globally enable PortFast by default on all access ports:
Switch(config)# spanning-tree portfast default
Switch(config)#
Related Commands
Release Modification
12.1(12c)EW Support for this command was introduced on the Catalyst 4500 series switch.
Command Description
show spanning-tree Displays spanning-tree state information.
spanning-tree portfast (interface
configuration mode)
Enables PortFast mode.