beautypg.com

Spanning-tree pathcost method, Spanning-tree pathcost method -111 – SMC Networks TigerSwitch 100 User Manual

Page 255

background image

S

PANNING

T

REE

C

OMMANDS

3-111

Command Mode

Global Configuration

Command Usage

Bridge priority is used in selecting the root device, root port, and
designated port. The device with the highest priority becomes the STP
root device. However, if all devices have the same priority, the device
with the lowest MAC address will then become the root device.

Example

spanning-tree pathcost method

Use this command to configure the path cost method used for the Rapid
Spanning Tree. Use the no form to restore the default.

Syntax

spanning-tree pathcost method {long | short}
no spanning-tree pathcost method

long - Specifies 32-bit based values that range from 1-200,000,000.
short - Specifies 16-bit based values that range from 1-65535.

Default Setting

short method

Command Mode

Global Configuration

Command Usage

The path cost method is used to determine the best path between
devices. Therefore, lower values should be assigned to ports attached to
faster media, and higher values assigned to ports with slower media.
Note that path cost (page 3-113) takes precedence over port priority
(page 3-114).

Console(config)#spanning-tree priority 40000
Console(config)#