Spanning-Tree Commands
78-21075-01 Command Line Interface Reference Guide
Default Configuration
PortFast mode is disabled.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Example
The following example enables the PortFast mode on gi15.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
31.11 spanning-tree link-type
Use the spanning-tree link-type Interface Configuration (Ethernet, port-channel)
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 Configuration (Ethernet, port-channel) mode
interface gi15
spanning-tree portfast
{point-to-point | shared}
31
459