Chapter
spanning-tree link-type
To override the default link-type setting, which is determined by the duplex mode of the Spanning Tree
Protocol (STP) port, and to enable rapid spanning-tree transitions to the forwarding state, use the
spanning-tree link-type command in interface configuration mode. To return to the default setting, use
the no form of this command.
Syntax Description
point-to-point
shared
Defaults
The switch derives the link type of an interface from the duplex mode. A full-duplex interface is
considered a point-to-point link, and a half-duplex interface is considered a shared link.
Command Modes
Interface configuration
Command History
Release
12.2(52)EY
Usage Guidelines
You can override the default setting of the link type by using the spanning-tree link-type command. For
example, a half-duplex link can be physically connected point-to-point to a single interface on a remote
switch running the Multiple Spanning Tree Protocol (MSTP) or the rapid per-VLAN spanning-tree plus
(rapid-PVST+) protocol and be enabled for rapid transitions.
You can verify your setting by entering the show spanning-tree mst interface interface-id or the show
spanning-tree interface interface-id privileged EXEC command.
Examples
This example shows how to specify the link type as shared (regardless of the duplex setting) and to
prevent rapid transitions to the forwarding state:
Switch(config-if)# spanning-tree link-type shared
OL-28238-01
spanning-tree link-type {point-to-point | shared}
no spanning-tree link-type
Specifies that the link type of an STP port is point-to-point.
Specifies that the link type of an STP port is shared.
Modification
This command was introduced.
Cisco ME 3800X and ME 3600X Switch Command Reference
spanning-tree link-type
-25