Spanning-Tree Commands
OL-32830-01 Command Line Interface Reference Guide
switchxxxxxx(config)#
switchxxxxxx(config-if)#
46.10 spanning-tree portfast
Use the spanning-tree portfast Interface (Ethernet, Port Channel) Configuration
mode command to enable the PortFast mode. In PortFast mode, the interface is
immediately put into the forwarding state upon linkup, without waiting for the
standard forward time delay. Use the no form of this command to disable the
PortFast mode.
Syntax
spanning-tree portfast [auto]
no spanning-tree portfast
Parameters
auto—Specifies that the software waits for 3 seconds (with no Bridge Protocol
Data Units (BPDUs) received on the interface) before putting the interface into the
PortFast mode.
Default Configuration
PortFast mode is disabled.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example enables the PortFast mode on gi 1 5.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
interface
gi1
15
spanning-tree port-priority 96
gi1
interface
15
spanning-tree portfast
46
896