Spanning-Tree Portfast (Global Configuration) - Cisco Catalyst 2960-X Command Reference Manual

Layer 2
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

spanning-tree portfast (global configuration)

spanning-tree portfast (global configuration)
To enable bridge protocol data unit (BPDU) filtering on PortFast-enabled interfaces, the BDPU guard feature
on PortFast-enabled interfaces, or the PortFast feature on all nontrunking interfaces, use the
spanning-treeportfast command in global configuration mode. To return to the default settings, use the no
form of this command.
spanning-tree portfast {bpdufilter default| bpduguard default| default}
no portfast {bpdufilter default| bpduguard default| default}
Syntax Description
bdpufilter default
bdpuguard default
default
Command Default
Disabled
Command Modes
Global configuration
Command History
Release
Cisco IOS 15.0(2)EX
Usage 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 enable BPDU
filtering on interfaces that are PortFast-enabled (the interfaces are in a PortFast-operational state). The interfaces
still send a few BPDUs at link-up before the switch begins to filter outbound BPDUs. You should globally
enable BPDU filtering on a switch so that hosts connected to switch interfaces do not receive BPDUs. If a
BPDU is received on a PortFast-enabled interface, the interface loses its PortFast-operational status and BPDU
filtering is disabled.
You can override the spanning-tree portfast bpdufilter default command by using the spanning-tree
portfast bpdufilter interface command.
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
106
Enables BDPU filtering on PortFast-enabled interfaces and prevents the
switch interface connect to end stations from sending or receiving BPDUs.
Enables the BDPU guard feature on PortFast-enabled interfaces and places
the interfaces that receive BPDUs in an error-disabled state.
Enables the PortFast feature on all nontrunking interfaces.
Modification
This command was introduced.
Layer 2 Commands
OL-29043 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents