Enabling Bpdu Guard Globally - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring STP Extensions
This example shows how to configure the Ethernet interface 1/4 to be a spanning tree network port:
switch# configure terminal
switch(config)# interface ethernet 1/4
switch(config-if)# spanning-tree port type network

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
Ensure that STP is configured.
Ensure that you have configured some spanning tree edge ports.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# spanning-tree port type edge bpduguard default
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# spanning-tree port type edge
bpduguard default
This example shows how to enable BPDU Guard on all spanning tree edge ports:
switch# configure terminal
switch(config)# spanning-tree port type edge bpduguard default
Enabling BPDU Guard on Specified Interfaces
You can enable BPDU Guard on specified interfaces. Enabling BPDU Guard shuts down the port if it receives
a BPDU.
You can configure BPDU Guard on specified interfaces as follows:
• spanning-tree bpduguard enable—Unconditionally enables BPDU Guard on the interface.
• spanning-tree bpduguard disable—Unconditionally disables BPDU Guard on the interface.
OL-25842-01
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 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
Configuring STP Extensions
223

Advertisement

Table of Contents
loading

Table of Contents