Configuring Spanning Tree Network Ports On Specified Interfaces - Cisco Nexus 3000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 6.x
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring Spanning Tree Network Ports on Specified Interfaces

This example shows how to configure the Ethernet access interface 1/4 to be a spanning tree edge port:
switch# configure terminal
switch(config)# interface ethernet 1/4
switch(config-if)# spanning-tree port type edge
Configuring Spanning Tree Network Ports on Specified Interfaces
You can configure spanning tree network ports on specified interfaces.
Bridge Assurance runs only on spanning tree network ports.
This command has three states:
• spanning-tree port type network—This command explicitly configures the port as a network port. If
• spanning-tree port type normal—This command explicitly configures the port as a normal spanning
• no spanning-tree port type—This command implicitly enables the port as a spanning tree network
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
Step 1
Step 2
Step 3
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
110
you enable Bridge Assurance globally, it automatically runs on a spanning tree network port.
tree port and Bridge Assurance cannot run on this interface.
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.
Command or Action
switch# configure terminal
switch(config)# interface type
slot/port
switch(config-if)# spanning-tree
port type network
Purpose
Enters global 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-29545-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents