Quick Reference Guide

376 Spanning-Tree Commands
www.dell.com | support.dell.com
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 – FOR PROOF ONLY
Default Configuration
Default path cost is determined by port speed and path cost method (long or short) as shown
below:
Command Mode
Interface Configuration (Ethernet, port-channel) mode.
User Guidelines
The path cost method is configured using the
spanning-tree pathcost method
Global
Configuration mode command.
Example
The following example configures the spanning-tree cost on Ethernet port 1/e15 to 35000.
spanning-tree port-priority
The spanning-tree port-priority Interface Configuration mode command configures port priority.
Use the no form of this command to return to the default configuration.
Syntax
spanning-tree port-priority
priority
no spanning-tree port-priority
priority
— The priority of the port. (Range: 0 - 240 in multiples of 16)
Default Configuration
The default port priority for IEEE Spanning TreeProtocol (STP) is 128.
Command Mode
Interface Configuration (Ethernet, port-channel) mode.
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/e15
Console(config-if)# spanning-tree cost 35000