1174
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
spanning-tree link-type
spanning-tree link-type
To configure a link type for a port, use the
spanning-tree link-type
command. To return to the default
settings, use the
no
form of this command.
spanning-tree link-type
{
auto
|
point-to-point
|
shared
}
no spanning-tree link-type
Syntax Description
Command Default
Link type set automatically based on the duplex setting.
Command Modes
Interface configuration mode
Command History
Usage Guidelines
Fast transition (specified in IEEE 802.1w) functions only on point-to-point links between two bridges.
By default, the switch derives the link type of a port from the duplex mode. A full-duplex port is
considered as a point-to-point link while a half-duplex configuration is assumed to be on a shared link.
Note
On a Cisco Nexus 5000 Series switch, port duplex is not configurable.
Examples
This example shows how to configure the port as a shared link:
switch(config-if)#
spanning-tree link-type shared
Related Commands
auto
Sets the link type based on the duplex setting of the interface.
point-to-point
Specifies that the interface is a point-to-point link.
shared
Specifies that the interface is a shared medium.
Release
Modification
5.2(1)N1(1)
This command was introduced.
Command
Description
show spanning-tree
interface
Displays information about the spanning tree state.