2-590
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree portfast
set spantree portfastTo allow a port that is connected to a single workstation or PC to start faster when it is connected, use
the set spantree portfast command.
set spantree portfast mod/port {enable [trunk] | disable | default}
Syntax Description
Defaults The default is the PortFast-start feature is disabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is not supported by the NAM.
When a port configured with the spantree portfast enable command is connected, the port immediately
enters the spanning tree forwarding state rather than going t hrough the normal spanning tree states, such
as listening and learning.
If you enter the trunk keyword, the spanning tree PortFast-start feature is enabled on the specified trunk
port.
Examples This example shows how to enable the spanning tree PortFast-start fe atu re on po rt 2 o n m odu le 1:
Console> (enable) set spantree portfast 1/2 enable
Warning: Connecting layer 2 devices to a fast-start port can cause temporary spanning tree
loops. Use with caution.
Spantree port 1/2 fast start enabled.
Console> (enable)
mod/port Number of the module and the port on the module.
enable Enables the spanning tree PortFast-start feature on the port.
trunk (Optional) Enables the spanning tree PortFast-start feature on the
trunk port.
disable Disables the spanning tree PortFast-start feature on the port.
default Sets the spanning tree PortFast-start feature back to its default setting.