Enabling Bpdu Guard Globally - 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
Command or Action
Step 6
switch# copy running-config startup-config
This example shows how to configure the Ethernet interface 1/4 to be a spanning tree network port:
switch# config t
switch(config)# interface ethernet 1/4
switch(config-if)# spanning-tree port type network
switch(config-if)# exit
switch(config)#

Enabling BPDU Guard Globally

You can enable BPDU Guard globally by default. In this condition, the system shuts down an edge port that
receives a BPDU.
We recommend that you enable BPDU Guard on all edge ports.
Note
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 are configuring the ports correctly to the device to which the port is connected.
SUMMARY STEPS
1. switch# config t
2. switch(config)# spanning-tree port type edge bpduguard 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
bpduguard default
Purpose
(Optional)
Copies the running configuration to the startup configuration.
Purpose
Enters global configuration mode.
Enables BPDU Guard by default on all spanning tree edge
ports. By default, global BPDU Guard is disabled.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Enabling BPDU Guard Globally
191

Advertisement

Table of Contents
loading

Table of Contents