Spanning-Tree Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 1108
58
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example configures the spanning-tree cost on
gi1
15 to 35000.
switchxxxxxx(config)#
interface
gi1
15
switchxxxxxx(config-if)#
spanning-tree cost
35000
58.9 spanning-tree port-priority
Use the spanning-tree port-priority Interface (Ethernet, Port Channel)
Configuration mode command to configure the port priority. Use the no form of this
command to restore the default configuration.
Syntax
spanning-tree port-priority
priority
no spanning-tree port-priority
Parameters
priority—Specifies the port priority. (Range: 0–240)
Default Configuration
The default port priority is 128.
Interface Long Short
Port-channel Half the
default cost
based on
Port-channel
interface
speed
Half the
default cost
based on
Port-channel
interface
speed
Gigabit Ethernet (1000 Mbps) 20,000 4
Ethernet (10 Mbps) 2,000,000 100