46
897
46.11 spanning-tree link-type
Use the spanning-tree link-type Interface (Ethernet, Port Channel) Configuration
mode command to override the default link-type setting determined by the port
duplex mode, and enable RSTP transitions to the Forwarding state. Use the no
form of this command to restore the default configuration.
Syntax
spanning-tree link-type
no spanning-tree spanning-tree link-type
Parameters
•
point-to-point—Specifies that the port link type is point-to-point.
•
shared—Specifies that the port link type is shared.
Default Configuration
The device derives the port link type 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 Mode
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example enables shared spanning-tree on gi 1 5.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
46.12 spanning-tree pathcost method
Use the spanning-tree pathcost method Global Configuration mode command to
set the default path cost method. Use the no form of this command to return to the
default configuration.
{point-to-point | shared}
interface
gi1
15
spanning-tree link-type shared
OL-32830-01 Command Line Interface Reference Guide
Spanning-Tree Commands