2-452
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
spanning-tree link-type
spanning-tree link-type
Use the spanning-tree link-type interface configuration command to override the default link-type
setting, which is determined by the duplex mode of the port, and to enable rapid spanning-tree transitions
to the forwarding state. Use the no form of this command to return to the default setting.
spanning-tree link-type {point-to-point | shared}
no spanning-tree link-type
Syntax Description
Defaults The switch derives the link type of a port from the duplex mode. A full-duplex port is considered a
point-to-point link, and a half-duplex port is considered a shared link.
Command Modes Interface configuration
Command History
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 port 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.
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
You can verify your settings by entering the show spanning-tree mst interface interface-id privileged
EXEC command.
Related Commands
point-to-point Specify that the link type of a port is point-to-point.
shared Specify that the link type of a port is shared.
Release Modification
12.1(9)EA1 This command was introduced.
Command Description
show spanning-tree mst interface
interface-id
Displays multiple spanning-tree (MST) information for the
specified interface.