Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
10-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 10 Configuring STP Extensions
Configuring STP Extensions
Configuring Spanning Tree Edge Ports on Specified Interfaces
You can configure spanning tree edge ports on specified interfaces. Interfaces configured as spanning
tree edge ports immediately transition to the forwarding state, without passing through the blocking or
learning states, on linkup.
This command has four states:
spanning-tree port type edge—This command explicitly enables edge behavior on the access port.
spanning-tree port type edge trunk—This command explicitly enables edge behavior on the trunk
port.
Note If you enter the spanning-tree port type edge trunk command, the port is configured as an
edge port even in the access mode.
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 configure the spanning port type, you should do the following:
Ensure that STP is configured.
Ensure that the interface is connected to hosts.
To configure spanning tree edge ports on a specified interface, perform this task:
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.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface type slot/port
Specifies the interface to configure, and enters the
interface configuration mode.
Step 3
switch(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.