fast port-span

Enables Fast Port Span, configuring the ports attached to the end stations to enter into the forwarding state in four seconds.
Syntax
fast port-span [ exclude { ethernet stackid/slot/port [ to stackid/slot/port | [ ethernet stackid/slot/port to stackid/slot/port | ethernet stackid/slot/port ]... ] ]
no fast port-span [ exclude ethernet stackid/slot/port [ to stackid/slot/port | [ ethernet stackid/slot/port to stackid/slot/port | ethernet stackid/slot/port ]... ] ]
Command Default

Fast Port Span is enabled by default on all ports that are attached to end stations.

Parameters
exclude
Excludes a port from Fast Port Span while leaving Fast Port Span enabled globally.
ethernet stackid/slot/port
Specifies the Ethernet port that you want to exclude from Fast Port Span.
to stackid/slot/port
Specifies a range of Ethernet ports that you want to exclude from Fast Port Span.
Modes

Global configuration mode

VLAN configuration mode

Usage Guidelines

Disabling and then re-enabling Fast Port Span clears the exclude settings and thus enables Fast Port Span on all eligible ports. To make sure Fast Port Span remains enabled on the ports following a system reset, save the configuration changes to the startup-config file after you re-enable Fast Port Span. Otherwise, when the system resets, those ports will again be excluded from Fast Port Span.

Fast Port Span allows faster convergence on ports that are attached to end stations and thus do not present the potential to cause Layer 2 forwarding loops. Because the end stations cannot cause forwarding loops, they can safely go through the STP state changes (blocking to listening to learning to forwarding) more quickly than is allowed by the standard STP convergence time. Fast Port Span performs the convergence on these ports in four seconds (two seconds for listening and two seconds for learning).

Fast Port Span is a system-wide parameter and is enabled by default. Thus, when you boot a device, all the ports that are attached only to end stations run Fast Port Span. For ports that are not eligible for Fast Port Span, such as ports connected to other networking devices, the device automatically uses the normal STP settings.

The no form of the command disables Fast Port Span. Using the exclude option with the no form of the command enables Fast Port Span on the specified ports.

Examples

The following example enables Fast Port Span on all ports.

device(config)# fast port-span

The following example excludes a set of ports from Fast Port Span.

device(config)# fast port-span exclude ethernet 1/1/1 ethernet 1/2/1 ethernet 1/3/1

The following example shows how to re-enable Fast Port Span on port 1/1/1 only while not re-enabling other excluded ports.

device(config)# no fast port-span exclude 1/1/1

The following example shows how to re-enable Fast Port Span on all excluded ports.

device(config)# no fast port-span
device(config)# fast port-span
device(config)# write memory