STP Commands
spanning-tree portfast
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
437
33
Example
The following example sets the default path cost method to Long:
switchxxxxxx(config)#
spanning-tree pathcost method long
spanning-tree portfast
To enable the PortFast mode on an interface, use the spanning-tree portfast
Interface Configuration mode command.
To disable the PortFast mode on an interface, use the no form of this command.
Syntax
spanning-tree portfast
no spanning-tree portfast
Parameters
N/A
Default Configuration
The PortFast mode is disabled.
Command Mode
Interface Configuration (Ethernet, port channel) mode
User Guidelines
In the PortFast mode, the interface is immediately put into the forwarding state
upon linkup, without waiting for the standard forward delay time.
Example
The following example enables the PortFast mode on gi15:
switchxxxxxx(config)#
interface gi15
switchxxxxxx(config-if)#
spanning-tree portfast