Configuring STP Extensions

Configuring STP Extensions

Note A port connected to a host that is configured as a network port automatically moves into the blocking state.

Before You Begin

Ensure that STP is configured.

Ensure that the interface is connected to switches or routers.

Procedure

 

Command or Action

Purpose

Step 1

switch# configure terminal

Enters configuration mode.

Step 2

switch(config)# interface type

Specifies the interface to configure, and enters the interface

 

slot/port

configuration mode. The interface can be a physical

 

 

Ethernet port.

Step 3

switch(config-if)# spanning-tree

Configures the specified interfaces to be spanning network

 

port type network

ports. If you enable Bridge Assurance, it automatically

 

 

runs on network ports. By default, spanning tree ports are

 

 

normal port types.

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.

 

Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)

120

OL-26590-01

Page 134
Image 134
Cisco Systems N3KC3048TP1GE, N3KC3064TFAL3 manual Enabling Bpdu Guard Globally, Port type network