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