spanning-tree link-type

Syntax

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

no spanning-tree link-type

Description

Configures the link type of a port.

The no form of this command sets the spanning tree link type to the default value of point-to-point.

Command context

config-if

Parameters

point-to-point

Sets the spanning tree link type as point-to-point. Use this for full-duplex ports that provide a point-to-point link to devices such as a switch, bridge, or end-node. Default.

shared

Sets the spanning tree link type as shared. Use this when the port is connected to a hub.

Authority

Administrators

Examples

Setting spanning tree link type for a shared port:

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

Setting spanning tree link type to default of point-to-point for the port:

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