beautypg.com

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

Page 231

background image

Spanning-Tree Commands

Page 219

Syntax

spanning-tree mst instance-id port-priority priority

no spanning-tree mst instance-id port-priority

Parameters

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

7

15

)

priority—The port priority. (Range: 0 - 240 in multiples of 16)

Default Configuration

The default port priority for IEEE Multiple Spanning Tree Protocol (MSTP) is 128.

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example configures the port priority of port g1 to 142.

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

15

).

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:

Console(config)# interface ethernet g1
Console(config-if)# spanning-tree mst 1 port-priority 142

Interface

Long

Short

Port-channel

20,000

4

Gigabit Ethernet(1000 Mbps)

20,000

4