S
PANNING
T
REE
C
OMMANDS
4-223
spanning-tree portfast
This command sets an interface to fast forwarding. Use the no form to
disable fast forwarding.
Syntax
[no] spanning-tree portfast
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• This command is used to enable/disable the fast spanning-tree mode
for the selected port. In this mode, ports skip the Discarding and
Learning states, and proceed straight to Forwarding.
• Since end-nodes cannot cause forwarding loops, they can be passed
through the spanning tree state changes more quickly than allowed by
standard convergence time. Fast forwarding can achieve quicker
convergence for end-node workstations and servers, and also
overcome other STA related timeout problems. (Remember that fast
forwarding should only be enabled for ports connected to a LAN
segment that is at the end of a bridged LAN or for an end-node
device.)
• This command is the same as spanning-tree edge-port, and is only
included for backward compatibility with earlier products. Note that
this command may be removed for future software versions.
Example
Related Commands
spanning-tree edge-port (4 -222)
Console(config)#interface ethernet 1/5
Console(config-if)#Spanning-tree portfast
Console(config-if)#