spanning-tree bpdu (Global)
To define Bridge Protocol Data Unit (BPDU) handling when the spanning tree is disabled globally or on a single interface, use the spanning-tree bpdu command in switch configuration mode. To restore the default configuration, use the no form of this command.
spanning-tree bpdu { filtering | flooding}
no spanning-tree bpdu
Syntax Description
filtering |
Specifies that BPDU packets are filtered when the spanning tree is disabled on an interface. |
flooding |
Specifies that untagged BPDU packets are flooded unconditionally (without applying VLAN rules) to all ports where spanning tree is disabled and the BPDU handling mode is flooding. Tagged BPDU packets are filtered. |
Command Default
The default setting is flooding.
Command Modes
Switch configuration (config-switch)
Command History
Release | Modification |
---|---|
3.5.1 |
This command was introduced. |
Usage Guidelines
The filtering and flooding modes are relevant when the spanning tree is disabled globally or on a single interface.
Examples
The following example sets the BPDU packet handling mode to flooding when the spanning tree is disabled on an interface:
nfvis(config-switch)# spanning-tree bpdu flooding
nfvis(config-switch)# commit
nfvis(config-switch)# end