Spanning-Tree Commands
OL-32830-01 Command Line Interface Reference Guide
896
46
switchxxxxxx(config)#
interface
gi1
15
switchxxxxxx(config-if)#
spanning-tree port-priority
96
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 gi15.
switchxxxxxx(config)#
interface
gi1
15
switchxxxxxx(config-if)#
spanning-tree portfast
Summary of Contents for 300 Series
Page 2: ......