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

Nx-os layer 2 switching configuration
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring STP Extensions Using Cisco NX-OS
Step 2
Step 3
Step 4
Step 5
Step 6
This example shows how to configure the Ethernet access interface 1/4 to be a spanning tree edge port:
switch# config t
switch(config)# interface ethernet 1/4
switch(config-if)# spanning-tree port type edge
switch(config-if)# exit
switch(config)#

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
Command or Action
interface type slot/port
Example:
switch(config)# interface ethernet 1/4
switch(config-if)#
spanning-tree port type edge
Example:
switch(config-if)# spanning-tree port
type edge
exit
Example:
switch(config-if)# exit
switch(config)#
show spanning-tree interface type slot/port
Example:
switch# show spanning-tree ethernet
1/4
copy running-config startup-config
Example:
switch# copy running-config
startup-config
you enable Bridge Assurance globally, it automatically runs on a spanning tree network port.
tree port and Bridge Assurance cannot run on this interface.
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Configuring Spanning Tree Network Ports on Specified Interfaces
Purpose
Specifies the interface to configure, and enters
the interface configuration mode.
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.
Exits interface configuration mode.
(Optional)
Displays the STP configuration including the STP
port type if configured.
(Optional)
Copies the running configuration to the startup
configuration.
163

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents