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

Nx-os layer 2 guide
Hide thumbs Also See for Nexus 6000 Series:
Table of Contents

Advertisement

Configuring STP Extensions
Note
• spanning-tree port type normal—This command explicitly configures the port as a normal spanning
tree port and the immediate transition to the forwarding state is not enabled.
• no spanning-tree port type—This command implicitly enables edge behavior if you define the
spanning-tree port type edge default command in global configuration mode. If you do not configure
the edge ports globally, the no spanning-tree port type command is equivalent to the spanning-tree
port type disable command.
Before You Begin
Ensure that STP is configured.
Ensure that the interface is connected to hosts.
Procedure
Step 1
Step 2
Step 3
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
you enable Bridge Assurance globally, it automatically runs on a spanning tree network port.
If you enter the spanning-tree port type edge trunk command, the port is configured
as an edge port even in the access mode.
Command or Action
switch# configure terminal
switch(config)# interface type
slot/port
switch(config-if)# spanning-tree
port type edge
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Purpose
Enters global configuration mode.
Specifies the interface to configure, and enters the interface
configuration mode.
If this is a 10G breakout port, the slot/port syntax is
Note
QSFP-module/port.
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.
Configuring STP Extensions
99

Advertisement

Table of Contents
loading

Table of Contents