set spantree portfast

Use the set spantree portfast command to allow a port that is connected to a single workstation or PC to start faster when it is connected.

set spantree portfast mod_num/port_num {enable | disable}

Syntax Description
mod_num  Number of the module. 
port_num  Number of the port on the module. 
enable  Keyword that enables the spanning-tree port fast-start feature on the port. 
disable  Keyword that disables the spanning-tree port fast-start feature on the port. 
Default

The default configuration has the port fast-start feature disabled.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

When a port configured with the spantree portfast enable command is connected, the port immediately enters the spanning-tree forwarding state rather than going through the normal spanning-tree states such as listening and learning. Use this command on ports that are connected to a single workstation or PC only; do not use it on ports that are connected to networking devices such as hubs, routers, switches, bridges, or concentrators.

Example

This example shows how to enable the spanning-tree port fast-start feature on port 2 on module 1:

Console> (enable) set spantree portfast 1/2 enable
Warning: Spantree port fast start should only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc. to a fast start port can cause temporary spanning tree loops. Use with caution.
Spantree port 1/2 fast start enabled.
Console> (enable)
  
Related Command

show spantree