spanning-tree link-type
To configure a link type for a port, use the spanning-tree link-type command in the interface configuration
mode. To return to the default settings, use the no form of this command.
spanning-tree link-type {point-to-point| shared}
no spanning-tree link-type
Syntax Description
Specifies that the interface is a point-to-point link.point-to-point
Specifies that the interface is a shared medium.shared
Command Default
Link type is automatically derived from the duplex setting unless you explicitly configure the link type.
Command Modes
Interface configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS 15.0(2)EX
Usage Guidelines
Rapid Spanning Tree Protocol Plus (RSTP+) fast transition works 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.
If you designate a port as a shared link, RSTP+ fast transition is forbidden, regardless of the duplex setting.
Examples
This example shows how to configure the port as a shared link:
Switch(config-if)# spanning-tree link-type shared
Related Commands
DescriptionCommand
Displays spanning-tree information.
show spanning-tree
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
88 OL-29043 -01
Layer 2 Commands
spanning-tree link-type