Specifications
2-826
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
spanning-tree portfast default
spanning-tree p ortfast defaul t
To globally enable PortFast by default on a ll access ports, use the spanning-tree portfast default
command. To disable PortFast as def ault on all access ports, us e the no form of this command.
spanning-tree portfast default
no spanning-tree portfast default
Syntax Description This command has no arguments or keywo rds.
Defaults Por tFast is disabled.
Command Modes Global c onfiguratio n mode
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 th e Catalyst 4500 series switch and ne twork
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 inte rfaces using the s panni ng-t ree por tfast (i nte rfac e
configuration mode) command.
Examples This exampl e shows how to globally enabl e PortFast by default on all acc ess ports:
Switch(config)# spanning-tree portfast default
Switch(config)#
Related Commands Command Description
show spanning-tree Displays spanning-tree state information.
spanning-tree portfast (interface
configuration mode)
Enables PortFast mode.