Configuring Spanning Tree Port Types Globally - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring STP Extensions
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

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:
You can configure the port type either globally or per interface. By default, the spanning tree port type
is normal.
Before you configure the spanning port type, you should do the following:
To configure the spanning tree port types globally, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# spanning-tree port type
edge default
switch(config)# spanning-tree port type
network default
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
This example shows how to configure all ports connected to switches or bridges as spanning tree network
ports:
switch# configure terminal
switch(config)# spanning-tree port type network default
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-6
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. These ports can be connected to any type of device.
Ensure that STP is configured.
Ensure that you are configuring the ports correctly for the type of device to which the interface is
connected.
Chapter 1
Purpose
Enters configuration mode.
Configures all interfaces as edge ports. This 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. This 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
Note
as network ports, those ports automatically
move into the blocking state.
Configuring STP Extensions
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents