2-738Cisco Catalyst Blade Switch 3120 for HP Command ReferenceOL-12248-03Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commandsspanning-tree portfast (global configuration)spanning-tree portfast (global configuration)Use the spanning-tree portfast global configuration command on the switch stack or on a standaloneswitch to globally enable bridge protocol data unit (BPDU) filtering on Port Fast-enabled interfaces, theBPDU guard feature on Port Fast-enabled interfaces, or the Port Fast feature on all nontrunkinginterfaces. The BPDU filtering feature prevents the switch interface from sending or receiving BPDUs.The BPDU guard feature puts Port Fast-enabled interfaces that receive BPDUs in an error-disabled state.Use the no form of this command to return to the default settings.spanning-tree portfast {bpdufilter default | bpduguard default | default}no spanning-tree portfast {bpdufilter default | bpduguard default | default}Syntax DescriptionDefaults The BPDU filtering, the BPDU guard, and the Port Fast features are disabled on all interfaces unlessthey are individually configured.Command Modes Global configurationCommand HistoryUsage Guidelines You can enable these features when the switch is operating in the per-VLAN spanning-tree plus(PVST+) rapid-PVST+, or the multiple spanning-tree (MST) mode.Use the spanning-tree portfast bpdufilter default global configuration command to globally enableBPDU filtering on interfaces that are Port Fast-enabled (the interfaces are in a Port Fast-operationalstate). The interfaces still send a few BPDUs at link-up before the switch begins to filter outboundBPDUs. You should globally enable BPDU filtering on a switch so that hosts connected to switchinterfaces do not receive BPDUs. If a BPDU is received on a Port Fast-enabled interface, the interfaceloses its Port Fast-operational status and BPDU filtering is disabled.You can override the spanning-tree portfast bpdufilter default global configuration command byusing the spanning-tree bdpufilter interface configuration command.bpdufilter default Globally enable BPDU filtering on Port Fast-enabled interfaces and preventthe switch interface connected to end stations from sending or receivingBPDUs.bpduguard default Globally enable the BPDU guard feature on Port Fast-enabled interfaces andplace the interfaces that receive BPDUs in an error-disabled state.default Globally enable the Port Fast feature on all nontrunking interfaces. When thePort Fast feature is enabled, the interface changes directly from a blockingstate to a forwarding state without making the intermediate spanning-treestate changes.Release Modification12.2(40)EX1 This command was introduced.