Menu
Get a Quote
Let's Chat

Configuration Guide: STP Extension in Cisco NX-OS

by Hunter Gorman, on Aug 6, 2020 1:45:00 PM

Three key advantages in your data center are built around architectural flexibility, operational simplicity, and end-to-end visibility. The Cisco NX-OS is designed for each of these three advantages, helping your network operations move at the same speed as your business operations. Today we'll focus on the configuration of this Cisco Software for your mission-critical data center environments.

 

Cisco NX-OS has added expansions to the Spanning Tree Protocol (STP) that make assembly increasingly proficient. Now and again, despite the fact that comparable usefulness might be fused into the IEEE 802.1w Rapid Spanning Tree Protocol (RSTP) standard, we prescribe utilizing these expansions. These expansions can be utilized with both RPVST+ and MST with available extensions inclusding spanning tree port types: Bridge Assurance, BPDU Guard, BPDU Filtering, Loop Guard, and Root Guard. Many of these features can be applied either globally or on specified interfaces. 

 

 

Understanding STP Port Types 

You can arrange a spreading over tree port as an edge port, a system port, or a typical port. A port can be in just one of these states at a given time. The default crossing tree port sort is typical. Contingent upon the kind of gadget to which the interface is associated, you can design a spreading over tree port as one of these port sorts. 

 

  • STP Edge ports  
  • STP Networks ports  
  • STP Normal ports  

 

Spanning Tree Edge Ports 

Edge ports, which are connected to hosts, can be either an access port or a trunk port. The edge port interface immediately transitions to the forwarding state, without moving through the blocking or learning states. 

 

Spanning Tree Network Ports

Network ports are connected only to switches or bridges. Bridge Assurance is enabled only on network ports. 

 

Spanning Tree Normal Ports 

Normal ports can be connected to either hosts, switches, or bridges. These ports function as normal spanning tree ports. 

 

STP Extensions Configuration Guidelines 

When configuring STP extensions, follow these guidelines:

  • Configure all access and trunk ports connected to hosts as edge ports.
  • Bridge Assurance runs only on point-to-point spanning tree network ports. You must configure each side of the link for this feature.
  • Loop Guard does not run on spanning tree edge ports.
  • Enabling Loop Guard on ports that are not connected to a point-to-point link will not work.
  • You cannot enable Loop Guard if Root Guard is enabled. 

 

Global configuration of spanning-tree port type on a Global PivIT switch  

 

  Command Purpose
Step 1 PivIT-Global(Config)# configure terminal  Enters configuration mode.
Step 2 PivIT-Global(Config)# spanning-tree port type edge default  Configures all interfaces as edge ports. It assumes all ports are connected to hosts/servers.
PivIT-Global(Config)# spanning-tree port type network default  Configures all interfaces as spanning tree network ports. It assumes all ports are connected to switches and bridges.

 

 

Configuration of spanning tree port edge in the interface on a Global PivIT switch

Presently we will design edge port in the interface level with the goal that port comes up rapidly. It is prescribed to use in host condition and I could be access or trunk port. On this port we won't get BPDU so in this respects there will be no spanning circles can make. Design is hereunder 

 

  Command Purpose
Step 1 PivIT-Global# configure terminal  Enters configuration mode.
Step 2 PivIT-Global(Config)# interface type slot/port  Specifies the interface to configure, and enters the interface configuration mode.
Step 3 PivIT-Global(Config-if)spanning-tree port type edge  Configures the specified access interfaces to be spanning edge ports. Edge ports immediately transition to the forwarding state without passing through the blocking or learning state at linkup. By default, spanning tree ports are normal port types.

 

Configuration of spanning tree port network in the interface on Global PivIT switch

 

  Command Purpose
Step 1 PivIT-Global# configure terminal  Enters configuration mode.
Step 2 PivIT-Global(Config)# interface type slot/port  Specifies the interface to configure, and enters the interface configuration mode. The interface can be a physical Ethernet port.
Step 3 PivIT-Global(Config-if)spanning-tree port type network 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.

 

 

Configuration of BPDU Guard in the interface on Global PivIT switch

 

  Command Purpose
Step 1 PivIT-Global# configure terminal  Enters configuration mode.
Step 2 PivIT-Global(Config)# interface type slot/port  Specifies the interface to configure, and enters the interface configuration mode. 
Step 3 PivIT-Global(Config) # spanning-tree bpduguard { enable | disable }  Configures the specified access interfaces to be spanning edge ports. Edge ports immediately transition to the forwarding state without passing through the blocking or learning state at linkup. By default, spanning tree ports are normal port types.

 

About PivIT Global

Leave a comment, question, or concern below. We created the Tech Corner to connect with you on Configuration Guides like today's, product discussions, product comparisons, and provide you with information about the industry! Subscribe to the Tech Corner today!

Topics:Configuration GuidesSTP ExtensionCisco NX-OS

Comments