JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
Example 
Enable the STP function for Gigabit Ethernet port 1/0/2: 
T3700G-52TQ(config)#interface gigabitEthernet 1/0/2 
T3700G-52TQ(config-if)#spanning-tree 
30.3  spanning-tree common-config 
Description 
The  spanning-tree common-config  command is used to configure the 
parameters of the ports for comparison in the CIST and the common 
parameters of all instances. To return to the default configuration, please use 
no spanning-tree common-config  command. CIST (Common and Internal 
Spanning Tree) is the spanning tree in a switched network, connecting all 
devices in the network. 
Syntax 
spanning-tree common-config [port-priority 
priority
] [ext-cost 
ext-cost
] 
[int-cost 
int-cost
] [portfast {enable | disable}] [point-to-point {auto | open | 
close}] 
no spanning-tree common-config 
Parameter 
priority
 —— Port Priority, which must be multiple of 16 ranging from 0 to 240. 
By default, the port priority is 128. Port Priority is an important criterion on 
determining if the port connected to this port will be chosen as the root port. 
In the same condition, the port with the highest priority will be chosen as the 
root port. The lower value has the higher priority.
 
ext-cost
  ——  External Path Cost, which is used to choose the path and 
calculate the path costs of ports in different MST regions. It is an important 
criterion on determining the root port. The lower value has the higher priority. 
It ranges from o to 2000000. By default, it is 0 which is mean auto. 
int-cost
  ——  Internal Path Cost, which is used to choose the path and 
calculate the path costs of ports in an MST region. It is an important criterion 
on determining the root port. The lower value has the higher priority. By 
default, it is automatic. It ranges from o to 2000000. By default, it is 0 which is 
mean auto. 
234