11 spanning-tree link-type, User guidelines, Example – PLANET WGSD-1022 User Manual

Page 272: Syntax, Default configuration, Command modes

Advertising
background image

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

Advertising