1204
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
spanning-tree port type network
spanning-tree port type network
To configure the interface that connects to a switch as a network spanning tree port, regardless of the
global configuration, use the
spanning-tree port type network
command. To return the port to a normal
spanning tree port, use the use the
no
form of this command.
spanning-tree port type network
no spanning-tree port type
Syntax Description
This command has no arguments or keywords.
Command Default
The default is the global setting for the default port type network that is configured when you entered
the
spanning-tree port type network default
command. If you did not configure a global setting, the
default spanning tree port type is normal.
Command Modes
Interface configuration mode
Command History
Usage Guidelines
Use this command to configure an interface that connects to a switch as a spanning tree network port.
Bridge Assurance runs only on Spanning Tree Protocol (STP) network ports.
Note
If you mistakenly configure ports connected to hosts as STP network ports and enable Bridge Assurance,
those ports will automatically move into the blocking state.
Note
Bridge Assurance is enabled by default, and all interfaces configured as spanning tree network ports have
Bridge Assurance enabled.
To configure a port as a spanning tree network port, use the
spanning-tree port type network
command.
To remove this configuration, use the
no spanning-tree port type
command. When you use the
no
spanning-tree port type
command, the software returns the port to the global default setting for network
port types.
You can configure all ports that are connected to switches as spanning tree network ports by default by
entering the
spanning-tree port type network default
command.
The default spanning tree port type is normal.
Release
Modification
5.2(1)N1(1)
This command was introduced.