Cisco Cisco SG500-52PP 52-port Gigabit Max PoE+ Stackable Managed Switch 技术参考

下载
页码 1295
Spanning-Tree Commands
1044
OL-31486-02 Command Line Interface Reference Guide
54
54.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
spanning-tree mst 
instance-id
 port-priority 
priority
no spanning-tree mst 
instance-id
 port-priority
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 
gi1/1/
1 to 144.
switchxxxxxx(config)#  
interface 
gi1/1/
1
switchxxxxxx(config-if)#  
spanning-tree mst
 
1
 
port-priority
 
144
54.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