Configuring Spanning Tree Port Types Globally - 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 Port Types Globally

• You cannot enable Loop Guard if Root Guard is enabled.
Configuring Spanning Tree Port Types Globally
The spanning tree port type designation depends on the type of device the port is connected to, as follows:
• Edge—Edge ports are connected to hosts and can be either an access port or a trunk port.
• Network—Network ports are connected only to switches or bridges.
• Normal—Normal ports are neither edge ports nor network ports; they are normal spanning tree ports.
You can configure the port type either globally or per interface. By default, the spanning tree port type is
normal.
Before You Begin
Ensure that STP is configured.
Ensure that you are configuring the ports correctly for the type of device to which the interface is connected.
Procedure
Step 1
Step 2
Step 3
This example shows how to configure all access and trunk ports connected to hosts as spanning tree edge
ports:
switch# configure terminal
switch(config)# spanning-tree port type edge default
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
108
These ports can be connected to any type of device.
Command or Action
switch# configure terminal
switch(config)# spanning-tree
port type edge default
switch(config)# spanning-tree
port type network default
Purpose
Enters global configuration mode.
Configures all interfaces as edge ports. Using this command
assumes all ports are connected to hosts/servers. 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.
Configures all interfaces as spanning tree network ports. Using
this command assumes all ports are connected to switches and
bridges. If you enable Bridge Assurance, it automatically runs on
network ports. By default, spanning tree ports are normal port
types.
If you configure interfaces connected to hosts as network
Note
ports, those ports automatically move into the blocking
state.
Configuring STP Extensions
OL-29545-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents