Configuring STP Extensions
interface signals an invalid configuration, such as the connection of an unauthorized host or switch. BPDU
Guard, when enabled globally, shuts down all spanning tree edge ports when they receive a BPDU.
BPDU Guard provides a secure response to invalid configurations, because you must manually put the LAN
interface back in service after an invalid configuration.
Note
When enabled globally, BPDU Guard applies to all operational spanning tree edge interfaces.
Understanding BPDU Filtering
You can use BPDU Filtering to prevent the switch from sending or even receiving BPDUs on specified ports.
When configured globally, BPDU Filtering applies to all operational spanning tree edge ports. You should
connect edge ports only to hosts, which typically drop BPDUs. If an operational spanning tree edge port
receives a BPDU, it immediately returns to a normal spanning tree port type and moves through the regular
transitions. In that case, BPDU Filtering is disabled on this port, and spanning tree resumes sending BPDUs
on this port.
In addition, you can configure BPDU Filtering by the individual interface. When you explicitly configure
BPDU Filtering on a port, that port does not send any BPDUs and drops all BPDUs that it receives. You can
effectively override the global BPDU Filtering setting on individual ports by configuring the specific interface.
This BPDU Filtering command on the interface applies to the entire interface, whether the interface is trunking
or not.
Use care when configuring BPDU Filtering per interface. If you explicitly configuring BPDU Filtering
Caution
on a port that is not connected to a host, it can result in bridging loops because the port ignores any BPDU
that it receives and goes to forwarding.
If the port configuration is not set to default BPDU Filtering, the edge configuration does not affect BPDU
Filtering. The following table lists all the BPDU Filtering combinations.
Table 14: BPDU Filtering Configurations
BPDU Filtering Per Port
Configuration
Default
Default
Default
OL-25842-01
BPDU Filtering Global
Configuration
Enabled
Enabled
Disabled
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
Information About STP Extensions
STP Edge Port
BPDU Filtering State
Configuration
Enabled
EnabledThe port
transmits at least 10
BPDUs. If this port
receives any BPDUs, the
port returns to the
spanning tree normal port
state and BPDU Filtering
is disabled.
Disabled
Disabled
Enabled/Disabled
Disabled
217