spanning-tree link-type

Syntax

spanning-tree link-type {point-to-point|shared}

Description

Specifies the link type of the interface, which is normally derived from the duplex setting of the port. The default setting depends on the duplex mode of the port: full-duplex ports are point-to-point, half-duplex ports are shared.

Command context

config-if

Parameters

point-to-point

Specifies the link type as point-to-point.

shared

Specifies the link type as shared.

Authority

Administrators

Examples

Setting the link type to point-to-point on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# spanning-tree link-type point-to-point

Setting the link type to shared on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# spanning-tree link-type shared