Spanning-tree mst cost, Spanning-tree mst max-hops – Dell PowerEdge M805 User Manual
Page 478
470
Spanning Tree Commands
www
.dell.com | support.dell.com
spanning-tree mst cost
Use the spanning-tree mst cost command in Interface Configuration mode to configure 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 return to the default port
path cost, use the no form of this command.
Syntax
spanning-tree mst instance-id cost cost
no spanning-tree mst instance-id cost
•
instance-ID—ID of the spanning -tree instance. (Range: 1-15)
•
cost—The port path cost. (Range: 0 - 200,000,000)
Default Configuration
The default value is 0, which signifies that the cost will be automatically calculated based on
port speed.
The default configuration is:
•
Ethernet (10 Mbps) - 2,000,000
•
Fast Ethernet (100 Mbps) - 200,000
•
Gigabit Ethernet (1000 Mbps) - 20,000
•
Port-Channel - 20,000
Command Mode
Interface Configuration (Ethernet, Port-Channel) mode
User Guidelines
This command has no user guidelines.
Example
The following example configures the MSTP instance 1 path cost for interface 1/g9 to 4.
console(config)#interface ethernet 1/g9
console(config-if-1/g9)#spanning-tree mst 1 cost 4
spanning-tree mst max-hops
Use the spanning-tree mst priority command in Global Configuration mode to configure the
number of hops in an MST region before the Bridge Protocol Data Unit (BDPU) is discarded and
the port information ages out. To return to the default setting, use the no form of this command.