Enabling Bpdu Guard On Specified Interfaces - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Chapter 10
Configuring STP Extensions
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
To enable BPDU Guard globally, perform this task:
Command
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:
Before you configure this feature, you should do the following:
To enable BPDU Guard on an interface, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface type slot/port
Step 3
switch(config-if)# spanning-tree
bpduguard {enable | disable}
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
OL-16597-01
spanning-tree bpduguard enable—Unconditionally enables BPDU Guard on the interface.
spanning-tree bpduguard disable—Unconditionally disables BPDU Guard on the interface.
no spanning-tree bpduguard—Enables BPDU Guard on the interface if it is an operational edge
port and if the spanning-tree port type edge bpduguard default command is configured.
Ensure that STP is configured.
Purpose
Enters configuration mode.
Enables BPDU Guard by default on all spanning tree
edge ports. By default, global BPDU Guard is
disabled.
Purpose
Enters 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.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring STP Extensions
10-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents