C613-50170-01 Rev B
Command Reference for x510 Series
689
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
S
PANNING
T
REE
C
OMMANDS
SPANNING
-
TREE
PORTFAST
BPDU
-
FILTER
spanning-tree portfast bpdu-filter
Overview
This command sets the bpdu-filter feature and applies a filter to any BPDUs (Bridge
Protocol Data Units) received. Enabling this feature ensures that configured ports
will not transmit any BPDUs and will ignore (filter out) any BPDUs received. BPDU
Filter is not enabled on a port by default.
Using the
no
variant of this command to turn off the bpdu-filter, but retain the
port’s status as an enabled port. If the port then receives a BPDU it will change its
role from an
edge-port
to a
non edge-port
.
Syntax (Global
Configuration)
spanning-tree portfast bpdu-filter
no spanning-tree portfast bpdu-filter
Syntax (Interface
Configuration)
spanning-tree portfast bpdu-filter {default|disable|enable}
no spanning-tree portfast bpdu-filter
Default
BPDU Filter is not enabled on any ports by default.
Mode
Global Configuration and Interface Configuration
Usage
This command filters the BPDUs and passes only data to continue to act as an edge
port. Using this command in Global Configuration mode applies the portfast
bpdu-filter feature to all ports on the device. Using it in Interface mode applies the
feature to a specific port, or range of ports.The command will operate in both RSTP
and MSTP networks.
Use the
command to display status of the bpdu-filter
parameter for the switch ports.
Example
To enable STP BPDU filtering in Global Configuration mode, enter the commands:
awplus#
configure terminal
awplus(config)#
spanning-tree portfast bpdu-filter
Parameter
Description
bpdu-filter
A port that has bpdu-filter enabled will not transmit any BPDUs and
will ignore any BPDUs received. This port type has one of the
following parameters (in Interface Configuration mode):
default
Takes the setting that has been configured for the whole
device, i.e. the setting made from the Global
configuration mode.
disable
Turns off BPDU filter.
enable
Turns on BPDU filter.