Enabling Bpdu Guard Globally - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

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
This command has three states:
A port connected to a host that is configured as a network port automatically moves into the blocking
Note
state.
Before you configure the spanning port type, you should do the following:
To configure spanning tree network ports on a specified 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 port
type network
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.
We recommend that you enable BPDU Guard on all edge ports.
Note
Before you configure this feature, you should do the following:
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-8
spanning-tree port type network—This command explicitly configures the port as a network port.
If you enable Bridge Assurance globally, it automatically runs on a spanning tree network port.
spanning-tree port type normal—This command explicitly configures the port as a normal
spanning tree port and Bridge Assurance cannot run on this interface.
no spanning-tree port type—This command implicitly enables the port as a spanning tree network
port if you define the spanning-tree port type network default command in global configuration
mode. If you enable Bridge Assurance globally, it automatically runs on this port.
Ensure that STP is configured.
Ensure that the interface is connected to switches or routers.
Ensure that STP is configured.
Ensure that you have configured some spanning tree edge ports.
Chapter 1
Purpose
Enters configuration mode.
Specifies the interface to configure, and enters the
interface configuration mode. The interface can be a
physical Ethernet port.
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.
Configuring STP Extensions
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents