Enabling Bpdu Filtering Globally - Cisco Nexus 3000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 6.x
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Enabling BPDU Filtering Globally

Before You Begin
Ensure that STP is configured.
Procedure
Step 1
Step 2
Step 3
Step 4
This example shows how to explicitly enable BPDU Guard on the Ethernet edge port 1/4:
switch# configure terminal
switch (config)# interface ethernet 1/4
switch(config-if)# spanning-tree bpduguard enable
switch(config-if)# no spanning-tree bpduguard
Enabling BPDU Filtering Globally
You can enable BPDU Filtering globally by default on spanning tree edge ports.
If an edge port with BPDU Filtering enabled receives a BPDU, it loses its operation status and as edge port
and resumes the regular STP transitions. However, this port maintains it configuration as an edge port.
Be careful when using this command: using it incorrectly can cause bridging loops.
Caution
Note
When enabled globally, BPDU Filtering is applied only on ports that are operational edge ports. Ports
send a few BPDUs at linkup before they effectively filter outbound BPDUs. If a BPDU is received on an
edge port, it immediately loses its operational edge port status and BPDU Filtering is disabled.
Before You Begin
Ensure that STP is configured.
Ensure that you have configured some spanning tree edge ports.
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
112
Command or Action
switch# configure terminal
switch(config)# interface type
slot/port
switch(config-if)# spanning-tree
bpduguard {enable | disable}
switch(config-if)# no spanning-tree
bpduguard
Purpose
Enters global configuration mode.
Specifies the interface to configure, and enters the
interface configuration mode.
Enables or disables BPDU Guard for the specified
spanning tree edge interface. By default, BPDU Guard is
disabled on physical Ethernet interfaces.
(Optional)
Disables BPDU Guard on the interface.
Enables BPDU Guard on the interface if it is an
Note
operational edge port and if you enter the
spanning-tree port type edge bpduguard
default command.
Configuring STP Extensions
OL-29545-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents