-640
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
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
Command Default The setting that is already configured when you enter the spanning-tree portfast bpduguard default
command.
Command Modes Interface configuration (config-if)
Command History
Usage Guidelines BPDU guard prevents a port from receiving BPDUs. Typically, this feature is used in a service-provider
environment where the network administrator wants 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 it is in the operational
PortFast state and if the spanning-tree portfast bpduguard default command is configured.
Examples This example shows how to enable BPDU guard on this interface:
Router(config-if)# spanning-tree bpduguard enable
Router(config-if)#
enable Enables BPDU guard on this interface.
disable Disables BPDU guard on this interface.
Release Modification
12.2(14)SX Support for this command was introduced on the Supervisor Engine 720.
12.2(17d)SXB Support for this command on the Supervisor Engine 2 was extended to
Release 12.2(17d)SXB.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
15.0(1)MR This command was integrated into 15.0(1)MR.
Comments to this Manuals