Cisco 3560x-24p 参考指南
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
2-799
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
spanning-tree bpdufilter
spanning-tree bpdufilter
Use the spanning-tree bpdufilter interface configuration command on the switch stack or on a
standalone switch to prevent an interface from sending or receiving bridge protocol data units (BPDUs).
Use the no form of this command to return to the default setting.
standalone switch to prevent an interface from sending or receiving bridge protocol data units (BPDUs).
Use the no form of this command to return to the default setting.
spanning-tree bpdufilter {disable | enable}
no spanning-tree bpdufilter
Syntax Description
Defaults
BPDU filtering is disabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
You can enable the BPDU filtering feature when the switch is operating in the per-VLAN spanning-tree
plus (PVST+), rapid-PVST+, or the multiple spanning-tree (MST) mode.
plus (PVST+), rapid-PVST+, or the multiple spanning-tree (MST) mode.
Caution
Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in
spanning-tree loops.
spanning-tree loops.
You can globally enable BPDU filtering on all Port Fast-enabled interfaces by using the spanning-tree
portfast bpdufilter default global configuration command.
portfast bpdufilter default global configuration command.
You can use the spanning-tree bpdufilter interface configuration command to override the setting of
the spanning-tree portfast bpdufilter default global configuration command.
the spanning-tree portfast bpdufilter default global configuration command.
Examples
This example shows how to enable the BPDU filtering feature on a port:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# spanning-tree bpdufilter enable
You can verify your setting by entering the show running-config privileged EXEC command.
disable
Disable BPDU filtering on the specified interface.
enable
Enable BPDU filtering on the specified interface.
Release
Modification
12.2(53)SE2
This command was introduced.