Spanning Tree Commands 545

spanning-tree auto-portfast

Use the spanning-tree auto-portfast command to set the port to auto portfast
mode. This enables the port to become a portfast port if it does not see any
BPDUs for 3 seconds. Use the “no” form of this command to disable auto
portfast mode.
Syntax
spanning-tree auto-portfast
no spanning-tree auto-portfast
Default Configuration
Auto portfast mode is disabled by default.
Command Mode
Interface Configuration (Ethernet, Port Channel) mode
Usage Guidelines
There are no user guidelines for this command.
Example
The following example enables spanning-tree functionality on ethernet
interface 4/g1.
console#config
console(config)#interface ethernet 4/g1
console(config-if-4/g1)#spanning-tree auto-portfast

spanning-tree bpdu flooding

The spanning-tree bpdu flooding command allows flooding of BPDUs
received on non-spanning-tree ports to all other non-spanning-tree ports. Use
the “no” form of the command to disable flooding.
Syntax
spanning-tree bpdu flooding