Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
2-84
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 2 Ethernet Commands
spanning-tree port type network default
spanning-tree port type network default
To configure all ports as spanning tree network ports by default, use the spanning-tree port type
network default command. To restore all ports to normal spanning tree ports by default, use the no form
of this command.
spanning-tree port type network default
no spanning-tree port type network default
Syntax Description This command has no arguments or keywords.
Command Default Disabled.
Command Modes Configuration mode
Command History
Usage Guidelines Use this command to automatically configure all interfaces that are connected to switches as spanning
tree network ports by default. You can then use the spanning-tree port type edge command to configure
specified ports that are connected to hosts as spanning-tree edge ports.
Note If you mistakenly configure ports connected to hosts as Spanning Tree Protocol (STP) network ports and
Bridge Assurance is enabled, those ports will automatically move into the blocking state.
Configure only the ports that connect to other switches as network ports because the Bridge Assurance
feature causes network ports that are connected to hosts to move into the spanning tree blocking state.
You can identify individual interfaces as network ports by using the spanning-tree port type network
command.
The default spanning tree port type is normal.
Examples This example shows how to globally configure all ports connected to switches as spanning tree network
ports:
switch(config)# spanning-tree port type network default
Release Modification
4.0(0)N1(1a) This command was introduced.