If you enter the
spanning-tree port type edge trunk
command, the port is configured
as an edge port even in the access mode.
Note
•
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 Begin
Ensure that STP is configured.
Ensure that the interface is connected to hosts.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Specifies the interface to configure, and enters the interface
configuration mode.
switch(config)#
interface type
slot
/
port
Step 2
If this is a 10G breakout port, the
slot
/
port
syntax is
QSFP-module
/
port
.
Note
Configures the specified access interfaces to be spanning edge
ports. Edge ports immediately transition to the forwarding
switch(config-if)#
spanning-tree
port type edge
Step 3
state without passing through the blocking or learning state
at linkup. By default, spanning tree ports are normal port
types.
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.
This command has three states:
•
spanning-tree port type network
—
This command explicitly configures the port as a network port. If
you enable Bridge Assurance globally, it automatically runs on a spanning tree network port.
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
99
Configuring STP Extensions
Configuring STP Extensions