•
spanning-tree port type normal
—
This command explicitly configures the port as a normal spanning
tree port and Bridge Assurance cannot run on this interface.
•
no spanning-tree port type
—
This command implicitly enables the port as a spanning tree network
port if you define the
spanning-tree port type network default
command in global configuration mode.
If you enable Bridge Assurance globally, it automatically runs on this port.
A port connected to a host that is configured as a network port automatically moves into the blocking
state.
Note
Before You Begin
Ensure that STP is configured.
Ensure that the interface is connected to switches or routers.
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. The interface can be a physical Ethernet
port.
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 interfaces to be spanning network
ports. If you enable Bridge Assurance, it automatically runs
switch(config-if)#
spanning-tree
port type network
Step 3
on network ports. By default, spanning tree ports are normal
port types.
This example shows how to configure the Ethernet interface 1/4 to be a spanning tree network port:
switch#
configure terminal
switch(config)#
interface ethernet 1/4
switch(config-if)#
spanning-tree port type network
Enabling BPDU Guard Globally
You can enable BPDU Guard globally by default. In this condition, the system shuts down an edge port that
receives a BPDU.
We recommend that you enable BPDU Guard on all edge ports.
Note
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
100
Configuring STP Extensions
Configuring STP Extensions