Spanning-Tree Bpduguard - Cisco Catalyst 2960-X Command Reference Manual

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

Advertisement

spanning-tree bpduguard

spanning-tree bpduguard
To enable bridge protocol data unit (BPDU) guard on the interface, use the spanning-tree bpduguard
command in interface configuration mode. To return to the default settings, use the no form of this command.
spanning-tree bpduguard {enable| disable}
no spanning-tree bpduguard
Syntax Description
enable
disable
Command Default
The setting that is already configured when you enter the spanning-tree portfast bpduguard default command.
Command Modes
Interface configuration
Command History
Release
Cisco IOS 15.0(2)EX
Usage Guidelines
Use the BPDU guard feature in a service-provider environment to prevent an access port from participating
in the spanning tree. If the port still receives a BPDU, it is put in the error-disabled state as a protective
measure. This command has three states:
• spanning-tree bpduguard enable —Unconditionally enables BPDU guard on the interface.
• spanning-tree bpduguard disable —Unconditionally disables BPDU guard on the interface.
• no spanning-tree bpduguard —Enables BPDU guard on the interface if the interface is in the operational
Examples
This example shows how to enable BPDU guard on an interface:
Switch(config-if)# spanning-tree bpduguard enable
Switch(config-if)#
Related Commands
Command
spanning-tree portfast (interface configuration)
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
80
PortFast state and if you configure the spanning-tree portfast bpduguard default command.
Enables BPDU guard on this interface.
Disables BPDU guard on this interface.
Modification
This command was introduced.
Description
Enables PortFast on the interface.
Layer 2 Commands
OL-29043 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents