Enabling Bpdu Guard Globally; Enabling Bpdu Guard On Specified Interfaces - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Enabling BPDU Guard Globally

Step 3
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.
Procedure
Step 1
Step 2
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.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
206
Command or Action
switch(config-if)# spanning-tree
port type network
Command or Action
switch# configure terminal
switch(config)# spanning-tree port type
edge bpduguard default
Purpose
Configures the specified interfaces to be spanning network
ports. If you enable Bridge Assurance, it automatically
runs on network ports. By default, spanning tree ports are
normal port types.
Purpose
Enters configuration mode.
Enables BPDU Guard by default on all spanning
tree edge ports. By default, global BPDU Guard
is disabled.
About STP Extensions
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents