Spanning-Tree Portfast (Interface Configuration) - Cisco Catalyst 2960-X Command Reference Manual

Layer 2
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

spanning-tree portfast (interface configuration)

spanning-tree portfast (interface configuration)
To enable PortFast mode where the interface is immediately put into the forwarding state upon linkup without
waiting for the timer to expire, use the spanning-tree portfast command in interface configuration mode.
To return to the default settings, use the no form of this command.
spanning-tree portfast [disable| trunk]
no spanning-tree portfast
Syntax Description
disable
trunk
Command Default
The settings that are configured by the spanning-treeportfastdefault command.
Command Modes
Interface configuration
Command History
Release
Cisco IOS 15.0(2)EX
Usage Guidelines
You can enable this feature when the switch is operating in the per-VLAN spanning-tree plus (PVST+), Rapid
PVST+, or the multiple spanning-tree (MST) mode.
This feature affects all VLANs on the interface.
Use this command only on interfaces that connect to end stations; otherwise, an accidental topology loop
could cause a data-packet loop and disrupt the switch and network operation.
To enable PortFast on trunk ports, you must use the spanning-tree portfast trunk interface configuration
command. The spanning-tree portfast command is not supported on trunk ports.
An interface with the PortFast feature enabled is moved directly to the spanning-tree forwarding state without
the standard forward-time delay.
You can use the spanning-tree portfast default global configuration command to globally enable the PortFast
feature on all nontrunking interfaces. Use the spanning-tree portfast interface configuration command to
override the global setting.
If you configure the spanning-tree portfast default global configuration command, you can disable PortFast
on an interface that is not a trunk interface by using the spanning-tree portfast disable interface configuration
command.
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
108
(Optional) Disables PortFast on the interface.
(Optional) Enables PortFast edge mode on the interface.
Modification
This command was introduced.
Layer 2 Commands
OL-29043 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents