Administrator Guide

Layer 2 Switching Commands 779
console#spanning-tree portfast bpdufilter default
spanning-tree portfast default
Use the spanning-tree portfast default command to enable portfast mode on
access ports. Interfaces configured as access mode ports are considered to be
edge ports. Use the no form of this command to disable portfast mode on all
ports.
Syntax
spanning-tree portfast default
no spanning-tree portfast default
Default Configuration
Portfast mode is disabled by default.
Command Mode
Global Configuration mode
User Guidelines
This command only affects access ports.
NOTE: This command should be used with care. 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.
Setting a port connected to another switch into portfast mode may cause an
accidental topology loop and disrupt switch and network operations.
Example
The following example enables portfast mode on all access ports.
console(config)#spanning-tree portfast default
2CSNXXX_SWUM204.book Page 779 Monday, January 25, 2016 1:25 PM