C
HAPTER
33
| Spanning Tree Commands
– 768 –
spanning-tree bpdu-
filter
This command filters all BPDUs received on an edge port. Use the no form
to disable this feature.
SYNTAX
[no] spanning-tree bpdu-filter
DEFAULT SETTING
Disabled
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
COMMAND USAGE
â—† This command filters all Bridge Protocol Data Units (BPDUs) received on
an interface to save CPU processing time. This function is designed to
work in conjunction with edge ports which should only connect end
stations to the switch, and therefore do not need to process BPDUs.
However, note that if a trunking port connected to another switch or
bridging device is mistakenly configured as an edge port, and BPDU
filtering is enabled on this port, this might cause a loop in the spanning
tree.
â—† Before enabling BPDU Filter, the interface must first be configured as an
edge port with the spanning-tree edge-port command.
EXAMPLE
Console(config)#interface ethernet ethernet 1/5
Console(config-if)#spanning-tree edge-port
Console(config-if)#spanning-tree bpdu-filter
Console(config-if)#
RELATED COMMANDS
spanning-tree edge-port (770)
spanning-tree bpdu-
guard
This command shuts down an edge port (i.e., an interface set for fast
forwarding) if it receives a BPDU. Use the no form to disable this feature.
SYNTAX
[no] spanning-tree bpdu-guard
DEFAULT SETTING
Disabled
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)