Spanning-Tree Commands
spanning-tree portfast
The spanning-tree portfast Interface Configuration mode command enables PortFast mode. In
PortFast mode, the interface is immediately put into the forwarding state upon linkup without
waiting for the standard forward time delay. To disable PortFast mode, use the no form of this
command.
Syntax
spanning-tree portfast [auto]
no spanning-tree portfast
Parameters
■
auto — Specifies that the software waits for 3 seconds (with no BPDUs received on the
interface) before putting the interface into PortFast mode.
Default Setting
PortFast mode is disabled.
Command Modes
Interface Configuration (Ethernet, port-channel) mode
Command Usage
This feature should be used only with interfaces connected to end stations. Otherwise, an
accidental topology loop could cause a data packet loop and disrupt device and network
operations.
An interface with PortFast mode enabled is moved directly to the spanning tree forwarding state
when linkup occurs without waiting the standard forward-time delay.
Example
The following command enables PortFast on Ethernet port 1/e15
Console(config)# interface ethernet 1/e15
Console(config-if)# spanning-tree portfast
22-10
www.hp.com
HP PC Blade Switch CLI Reference Guide
.