Spanning Tree Commands 4

spanning-tree pathcost method

This command configures the path cost method used for Rapid Spanning Tree and Multiple 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

Long 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 4-160)takes precedence over port priority (page 4-161).

Example

Console(config)#spanning-tree pathcost method long

Console(config)#

spanning-tree transmission-limit

This command configures the minimum interval between the transmission of consecutive RSTP/MSTP BPDUs. Use the no form to restore the default.

Syntax

spanning-tree transmission-limit count no spanning-tree transmission-limit

count - The transmission limit in seconds. (Range: 1-10)

Default Setting

3

Command Mode

Global Configuration

Command Usage

This command limits the maximum transmission rate for BPDUs.

Example

Console(config)#spanning-tree transmission-limit 4

Console(config)#

4-155