Spanning-Tree Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
58.20 spanning-tree mst port-priority
Use the spanning-tree mst port-priority Interface (Ethernet, Port Channel)
Configuration mode command to configure the priority of a port. Use the no form
of this command to restore the default configuration.
Syntax
instance-id
spanning-tree mst
no spanning-tree mst
Parameters
•
instance-id—Specifies the spanning tree instance ID. (Range: 1–15)
•
priority—Specifies the port priority. (Range: 0–240 in multiples of 16)
Default Configuration
The default port priority is 128.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
The priority value must be a multiple of 16.
Example
The following example configures the port priority of
switchxxxxxx(config)#
switchxxxxxx(config-if)#
58.21 spanning-tree mst cost
Use the spanning-tree mst cost Interface (Ethernet, Port Channel) Configuration
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
port-priority
instance-id
port-priority
gi1
interface
1
spanning-tree mst 1 port-priority 144
priority
1 to 144.
gi1
58
1118