2-445
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco 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
Command History
Usage Guidelines
Caution Be careful when using this command. You should use this command only with interfaces that connect to
end stations; otherwise, an accidental topology loop could cause a data packet loop and disrupt the
Catalyst4500 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 show spanning-tree
spanning-tree portfast (interface configuration mode)
Release Modification
12.1(12c)EW Support for this command was introduced on the Catalyst 4500 series switch.