STP Commands
spanning-tree bpdu-guard (Interface)
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
426
33
Command Mode
Interface Configuration (Ethernet, port channel) mode
Example
switchxxxxxx(config)#
interface gi3
switchxxxxxx(config-if)#
spanning-tree bpdu-filter enable
spanning-tree bpdu-guard (Interface)
To shut down an interface when it receives a BPDU, use the spanning-tree bpdu-
guard Interface Configuration mode command.
To revert to its default setting, use the no form of this command.
Syntax
spanning-tree bpdu-guard {disable | enable}
no spanning-tree bpdu-guard
Parameters
•
disable—Disables BPDU guard.
•
enable—Enables BPDU guard.
Default Configuration
BPDU guard is disabled.
Command Mode
Interface Configuration (Ethernet, port channel) mode
User Guidelines
The command can be enabled when STP is enabled globally and on the interface.
Example
The following example shuts down fa5 when it receives an BPDU:
switchxxxxxx(config)#
interface gi5