Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
10-11
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 10 Configuring STP Extensions
Configuring STP Extensions
Caution Be careful when you enter the spanning-tree bpdufilter enable command on specified interfaces.
Explicitly configuring BPDU Filtering on a port that is not connected to a host can result in bridging
loops as the port will ignore any BPDU it receives and go to forwarding.
You can enter this command to override the port configuration on specified interfaces.
This command has three states:
spanning-tree bpdufilter enable—Unconditionally enables BPDU Filtering on the interface.
spanning-tree bpdufilter disable—Unconditionally disables BPDU Filtering on the interface.
no spanning-tree bpdufilter—Enables BPDU Filtering on the interface if the interface is in
operational edge port and if you configure the spanning-tree port type edge bpdufilter default
command.
Before you configure this feature, you should do the following:
Ensure that STP is configured.
Note When you enable BPDU Filtering locally on a port, this feature prevents the device from receiving or
sending BPDUs on this port.
To enable BPDU Filtering on an interface, perform this task:
This example shows how to explicitly enable BPDU Filtering on the Ethernet spanning tree edge port
1/4:
switch# configure terminal
switch (config)# interface ethernet 1/4
switch(config-if)# spanning-tree bpdufilter enable
To disable BPDU Filtering on an interface, perform this task:
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface type slot/port
Specifies the interface to configure, and enters the
interface configuration mode.
Step 3
switch(config-if)# spanning-tree
bpdufilter {enable | disable}
Enables or disables BPDU Filtering for the specified
spanning tree edge interface. By default, BPDU
Filtering is disabled.
Command Purpose
switch(config-if)# no spanning-tree
bpdufilter
Enables BPDU Filtering on the interface if the
interface is an operational spanning tree edge port and
if you enter the spanning-tree port type edge
bpdufilter default command.