Spanning-Tree Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 1110
58
Example
The following example enables the PortFast mode on
gi1
15.
switchxxxxxx(config)#
interface
gi1
1
5
switchxxxxxx(config-if)#
spanning-tree portfast
58.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
{point-to-point | shared}
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
gi1
1
5.
switchxxxxxx(config)#
interface
gi1
15
switchxxxxxx(config-if)#
spanning-tree link-type shared