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

下载
页码 1295
Spanning-Tree Commands
OL-31486-02 Command Line Interface Reference Guide
1045
54
 
Forwarding state. Use the no form of this command to restore the default 
configuration.
Syntax
spanning-tree mst 
instance-id
 cost 
cost
no spanning-tree mst 
instance-id
 cost
Default Configuration
N/A
Parameters
instance-id—Specifies the spanning-tree instance ID. (Range: 1–15)
cost—Specifies the port path cost. (Range: 1–200000000)
Default Configuration
Default path cost is determined by the port speed and path cost method (long or 
short) as shown below:
Command Mode 
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example configures the MSTP instance 1 path cost for port 
gi1/1/
9
 
to 4. 
switchxxxxxx(config)#  
interface 
gi1/1/
9
switchxxxxxx(config-if)#  
spanning-tree mst
 1 
cost
 4
Interface
Long
Short
Port-channel
20,000
4
Gigabit Ethernet (1000 Mbps)
20,000
4
Ethernet (10 Mbps)
2,000,000
100