11 spanning-tree link-type, Default configuration, Command modes – Planet Technology WGSW-48040 User Manual
Page 290: User guidelines, Example, Syntax
User’s Manual of WGSW-24020/WGSW-48040
-29
Default Configuration
PortFast mode is disabled.
Command Modes
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This feature should be used only with interfaces connected to end stations. Otherwise, an accidental topology loop could cause
a data packet loop and disrupt switch and network operations.
Example
The following example enables PortFast on e5.
Console(config)# interface ethernet e5
Console(config-if)# spanning-tree portfast
5.21.11 spanning-tree link-type
The spanning-tree link-type interface configuration command overrides the default link-type setting. To reset the default, use
the no form of this command.
Syntax
spanning-tree link-type
{point-to-point | shared}
no spanning-tree spanning-tree link-type
point-to-point — Specifies the port link type as point-to-point.
shared — Specifies that the port link type is shared.
Default Configuration
The switch derives the link type of a port 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 Modes
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example enables shared spanning-tree on e5.
Console(config)# interface ethernet e5
Console(config-if)# spanning-tree link-type shared