TP-LINK 16-Port Gigabit Web Smart Switch with 2 Combo SFP Slots TL-SG2216WEB Data Sheet

Product codes
TL-SG2216WEB
Page of 226
 
Example 
Enable the STP function for port 2: 
TL-SG2424(config)# interface gigabitEthernet 1/0/2 
TL-SG2424(config-if)# spanning-tree 
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  pri  ] [ ext-cost  ext-cost  
int-cost int-cost ] [ portfast { enable | disable }] [ point-to-point { auto | open | 
close }] 
no spanning-tree common-config 
Parameter 
pri —— 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. 
portfast —— Enable/ Disable Edge Port. By default, it is disabled. The edge port 
can transit its state from blocking to forwarding rapidly without waiting for 
forward delay. 
142