Enabling Bpdu Guard Globally - Cisco Nexus 9000 Series Configuration Manual

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

Advertisement

Configuring STP Extensions Using Cisco NX-OS
Step 6
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.
Note
We recommend that you enable BPDU Guard on all edge ports.
Before You Begin
Before you configure the spanning port type, you should do the following:
• Ensure that STP is configured.
• Ensure that you are configuring the ports correctly as to the device to which the port is connected.
Procedure
Step 1
Step 2
Command or Action
copy running-config startup-config
Example:
switch# copy running-config
startup-config
Command or Action
config t
Example:
switch# config t
switch(config)#
spanning-tree port type edge bpduguard default
Example:
switch(config)# spanning-tree port type
edge bpduguard default
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Enabling BPDU Guard Globally
Purpose
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters configuration mode.
Enables BPDU Guard by default on all
spanning tree edge ports. By default, global
BPDU Guard is disabled.
165

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents