Command:

spanning-tree portfast

Mode:

Switch(config-if)#


Syntax:

spanning-tree portfast

no spanning-tree portfast


Syntax Description:

This command has no arguments or keywords.


Command Description:

Use the spanning-tree portfast interface configuration command to enable the Port Fast feature on a port in all its associated VLANs. When the Port Fast feature is enabled, the port changes directly from a blocking state to a forwarding state without making the intermediate Spanning Tree Protocol (STP) status changes. Use the no form of this command to return the port to default operation.

Use this feature only on ports that connect to end stations.

This feature affects all VLANs on the port.

A port with the Port Fast feature enabled is moved directly to the spanning-tree forwarding state.


Example:

The following example shows how to enable the Port Fast feature.

Switch(config-if)#spanning-tree portfast

 

You can verify the previous commands by entering the show running-config in privilege EXEC mode.


Misconceptions:
None

Related commands:
show spanning-tree
spanning-tree port-priority

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)