beautypg.com

Spanning-tree link-type, Spanning-tree pathcost method – Allied Telesis AT-S95 CLI User Manual

Page 226

background image

Page 214

Not approved by Document Control. For review only.

Allied Telesis

Command Line Interface User’s Guide

Example

The following example enables PortFast on Ethernet port 1/g15

.

spanning-tree link-type

The spanning-tree link-type Interface Configuration mode command overrides the default link-type setting
determined by the duplex mode of the port and enables Rapid Spanning Tree Protocol (RSTP) transitions to the
forwarding state. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree link-type {point-to-point | shared}

no spanning-tree spanning-tree link-type

Parameters

point-to-point —Indicates that the port link type is point-to-point.

shared — Indicates 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 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 Ethernet port 1/g5

.

spanning-tree pathcost method

The spanning-tree pathcost method Global Configuration mode command sets the default path cost method.
Use the no form of this command to return to the default configuration.

Syntax

spanning-tree pathcost method {long | short}

no spanning-tree pathcost method

Console(config)# interface ethernet 1/g15
Console(config-if)# spanning-tree portfast

Console(config)# interface ethernet 1/g15
Console(config-if)# spanning-tree link-type shared