Chapter 10
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 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:
•
•
•
•
Before you configure the spanning port type, you should do the following:
•
•
To configure spanning tree edge ports on a specified interface, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface type slot/port
Step 3
switch(config-if)# spanning-tree port
type edge
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.
OL-16597-01
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.
Ensure that STP is configured.
Ensure that the interface is connected to hosts.
Purpose
Enters configuration mode.
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.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring STP Extensions
10-7