/
set protocols spanning-tree stp interface bpdu-filter

set protocols spanning-tree stp interface bpdu-filter


The set protocols spanning-tree stp interface bpdu-filter command configures a physical port or a LAG port as a BPDU-filter port for STP mode.


Command Syntax

set protocols spanning-tree stp interface <interface-name> bpdu-filter <true | false>


Parameter

Parameter

Description

interface <interface-name>

Specifies a port name. The value is a string that can be set to a physical port name or a LAG port.

bpdu-filter <true | false>

Enables or disables BPDU-filter on a port. The value could be true or false.

  •   true: enables BPDU-filter.
  •   false: disables BPDU-filter.

By default, BPDU-filter is disabled.


Usage Guidelines

When configuring a port as a BPDU-filter port, the port will not process BPDUs.

NOTE:

If the port is set to the BPDU filter port, the port does not participate in spanning tree calculation, so it is recommended to configuring BPDU-filter port only on edge ports.


Example

  • Configure the port ge-1/1/1 as a BPDU-filter port.
admin@Xorplus# set protocols spanning-tree stp interface ge-1/1/1 bpdu-filter true
admin@Xorplus# commit


Copyright © 2025 Pica8 Inc. All Rights Reserved.