beautypg.com

Spanning-tree mst cost, Spanning-tree mst configuration – Allied Telesis AT-S95 CLI User Manual

Page 267

background image

Spanning-Tree Commands

Page 267

spanning-tree mst cost

The spanning-tree mst cost Interface Configuration mode command configures the path cost for multiple
spanning tree (MST) calculations. If a loop occurs, the spanning tree considers path cost when selecting an
interface to put in the forwarding state. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree mst instance-id cost cost

no spanning-tree mst instance-id cost

Parameters

instance-ID—ID of the spanning -tree instance (Range: 1- 7).

cost—The port path cost. (Range: 1 - 200,000,000)

Default Configuration

Default path cost is determined by port speed and path cost method (long or short) as shown below:

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example configures the MSTP instance 1 path cost for Ethernet port 1/e16 to 4.

spanning-tree mst configuration

The spanning-tree mst configuration Global Configuration mode command enables configuring an MST region
by entering the Multiple Spanning Tree (MST) mode.

Syntax

spanning-tree mst configuration

Parameters

This command has no arguments or keywords.

Interface

Long

Short

Port-channel

20,000

4

Gigabit Ethernet (1000 Mbps)

20,000

4

Fast Ethernet (100 Mbps)

200,000

19

Ethernet (10 Mbps)

2,000,000

100

console(config) # interface ethernet 1/e16
console(config-if) # spanning-tree mst 1 cost 4