spanning-tree bpdu-filter
Use this command to set the BPDU filter value for individual ports. When the enable or disable parameter is used with this command, this configuration takes precedence over bridge configuration. However, when the default parameter is used with this command, the bridge level BPDU filter configuration takes effect for the port.
Use the
show spanning tree command to display administratively configured and currently running values of the BPDU filter parameter for the bridge and port (see
show spanning-tree).
Use the no parameter with this command to revert the port BPDU filter value to default.
Command Syntax
spanning-tree bpdu-filter (enable|disable|default)
no spanning-tree bpdu-filter
Parameters
default
Sets the bpdu-filter to the default level.
disable
Disables the BPDU-filter.
enable
Enables the BPDU-filter.
Default
By default, spanning-tree bpdu-filter is default option
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth0
(config-if)#spanning-tree bpdu-filter enable
(config-if)#no spanning-tree bpdu-filter
Last modified date: 07/13/2023