Spanning-Tree Commands

User Guidelines

There are no user guidelines for this command.

Example

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

Console(config)# interface ethernet ext.1

Console(config-if)#spanning-tree mst 1 port-priority 144

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. To restore the default configuration, use the no form of this command.

Syntax

spanning-tree mst instance-idcost cost

no spanning-tree mst instance-idcost

Parameters

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

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:

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

 

 

 

Command Modes

Interface Configuration (Ethernet, port-channel) mode

Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

273

Page 289
Image 289
Intel SBCEGBESW10 CLI manual Spanning-tree mst cost, Consoleconfig-if#spanning-tree mst 1 port-priority