Enabling Bpdu Filtering Globally - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Enabling BPDU Filtering Globally

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 as edge port and
resumes the regular STP transitions. However, this port maintains its configuration as an edge port.
Be careful when using this command. Using this command incorrectly can cause bridging loops.
Caution
Before You Begin
• Ensure that you are in the correct VDC (or enter the switchto vdc command).
• Ensure that STP is configured.
• Ensure that you have configured some spanning tree edge ports.
When enabled globally, BPDU Filtering is applied only on ports that are operational edge ports. Ports
Note
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.
SUMMARY STEPS
1. switch# config t
2. switch(config)# spanning-tree port type edge bpdufilter default
3. switch(config)# exit
4. (Optional) switch# show spanning-tree summary
5. (Optional) switch# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# config t
Step 2
switch(config)# spanning-tree port type edge
bpdufilter default
Step 3
switch(config)# exit
Step 4
switch# show spanning-tree summary
Step 5
switch# copy running-config startup-config
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
194
Configuring STP Extensions Using Cisco NX-OS
Purpose
Enters global configuration mode.
Enables BPDU Filtering by default on all operational spanning
tree edge ports. Global BPDU Filtering is disabled by default.
Exits global configuration mode.
(Optional)
Displays summary STP information.
(Optional)
Copies the running configuration to the startup configuration.

Advertisement

Table of Contents
loading

Table of Contents