Spanning-Tree Mst Cost - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

31
468

31.21 spanning-tree mst cost

Use the spanning-tree mst cost Interface Configuration (Ethernet, Port-channel)
mode command to configure the path cost for 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 restore the default
configuration.
Syntax
instance-id
spanning-tree mst
no spanning-tree mst
Default Configuration
N/A
Parameters
instance-id—Specifies the spanning-tree instance ID. (Range: 1–15)
cost—Specifies the port path cost. (Range: 1–200000000)
Default Configuration
Default path cost is determined by the port speed and path cost method (long or
short) as shown below:
Interface
Port-channel
Gigabit Ethernet (1000 Mbps)
Ethernet (10 Mbps)
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Example
The following example configures the MSTP instance 1 path cost for
gigabitethernet port 9 to 4.
switchxxxxxx(config)#
cost
cost
instance-id
cost
Long
20,000
20,000
2,000,000
interface gi9
78-21075-01 Command Line Interface Reference Guide
Spanning-Tree Commands
Short
4
4
100

Advertisement

Table of Contents
loading

Table of Contents