Enabling Bpdu Filtering On Specified Interfaces - Cisco Nexus 7000 Series Configuration Manual

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring STP Extensions Using Cisco NX-OS
This example shows how to enable BPDU Filtering on all operational spanning tree edge ports:
switch# config t
switch(config)# spanning-tree port type edge bpdufilter default
switch(config)# exit
switch#

Enabling BPDU Filtering on Specified Interfaces

You can apply BPDU Filtering to specified interfaces. When enabled on an interface, that interface does not
send any BPDUs and drops all BPDUs that it receives. This BPDU Filtering functionality applies to the entire
interface, whether trunking or not.
Be careful when you enter the spanning-tree bpdufilter enable command on specified interfaces. Explicitly
Caution
configuring BPDU Filtering on a port that is not connected to a host can result in bridging loops because
the port will ignore any BPDU that 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 an operational
Before You Begin
• Ensure that you are in the correct VDC (or enter the switchto vdc command).
• Ensure that STP is configured.
When you enable BPDU Filtering locally on a port, this feature prevents the device from receiving or
Note
sending BPDUs on this port.
SUMMARY STEPS
1. switch# config t
2. switch(config)# interface type slot/port
3. Enter one of the following commands:
4. switch(config-if)# exit
5. (Optional) switch# show spanning-tree summary interface type slot/port detail
6. (Optional) switch(config)# copy running-config startup-config
edge port and if you configure the spanning-tree port type edge bpdufilter default command.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Enabling BPDU Filtering on Specified Interfaces
195

Advertisement

Table of Contents
loading

Table of Contents