DGS-6604
m
spanning-tree link-type
CLI Reference Guide
865
spanning-tree link-type
To configure a link type for a port, use the
spanning-tree link-type
command. 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
Default
Link type is automatically derived from the duplex setting unless the link-type is
explicitly configured.
Command Mode
Interface configuration (available for both physical port and port-channel)
Usage Guideline
A full-duplex port is considered to have a point-to-point connection; whereas
conversely, a half-duplex port is considered to have a shared connection. The
port cannot transit into forwarding state rapidly by setting the link type to shared-
media. Hence, auto-determination of the link-type by the STP module is
recommended.
This configuration will take effect on all the spanning-tree modes.
Example
This example shows how to configure the link type to point-to-point for eth3.7.
Verify the settings by entering the
show spanning-tree interface
command.
Syntax Description
point-to-point
Specifies that the port's link type is point-to-point.
shared
Specifies that the port's link type is a shared media connection.
Switch(config)# interface eth3.7
Switch(config-if)# spanning-tree link-type point-to-point