Users Guide

Layer 2 Switching Commands 777
The administrator must ensure that interfaces enabled for BPDU filtering are
configured as edge ports. Use the spanning-tree portfast command to
configure the interface as an edge port.
Example
The following example discards BPDUs received on spanning-tree ports in
portfast mode.
console(config)#spanning-tree portfast bpdufilter default
spanning-tree portfast default
Use the spanning-tree portfast default command to enable portfast mode on
access ports. Interfaces configured as access mode ports are considered to be
edge ports. Use the no form of this command to disable portfast mode on all
ports.
Syntax
spanning-tree portfast default
no spanning-tree portfast default
Default Configuration
Portfast mode is disabled by default.
Command Mode
Global Configuration mode
User Guidelines
This command only affects access ports.
NOTE: This command should be used with care. An interface with
portfast mode enabled is moved directly to the spanning tree forwarding state
when linkup occurs without waiting for the standard forward-time delay.
Setting a port connected to another switch into portfast mode may cause an
accidental topology loop and disrupt switch and network operations.