MES3000 Ethernet switch series                      97 
id] [gigabitethernet gi_port | 
tengigabitethernet te_port | 
port-channel group] 
te_port: (1..8/0/1..4); 
group: (1..24) 
id: 0..31 
show spanning-tree [detail] 
[active | blockedports] 
[process id] 
Show the detailed information on STP configuration, information 
on active or blocked ports 
clear spanning-tree 
detectedprotocols 
[gigabitethernet gi_port | 
tengigabitethernet te_port | 
port-channel group] 
gi_port: (1..8/0/1..24);  
te_port: (1..8/0/1..4); 
group: (1..24) 
Restart  protocol  migration  process.  Begin  spanning  tree 
recalculation.  
EXEC mode commands 
Command line request in EXEC mode appears as follows: 
console#  
Table 5.90 —EXEC mode commands 
show spanning-tree bpdu 
[gigabitethernet gi_port | 
tengigabitethernet te_port | 
port-channel group] 
gi_port: (1..8/0/1..24);  
te_port: (1..8/0/1..4); 
group: (1..24) 
Show BDPU packet processing mode for the interfaces. 
5.15.5.2 MSTP protocol configuration 
Global configuration mode commands 
Command line request in global configuration mode appears as follows: 
console(config)# 
Table 5.91 —Global configuration mode commands 
Enable STP utilization by the switch.  
Disable STP utilization by the switch. 
spanning-tree mode {stp | 
rstp | mstp} 
Restore the default value. 
spanning-tree pathcost 
method {long | short} 
Set the method for defining the path value. 
- long—value in the range 1..200000000 
- short—value in the range 1..65535. 
no spanning-tree pathcost 
method  
Restore the default value. 
spanning-tree mst instance_id 
priority priority 
instance_id: (1..4094); 
priority: 
(0..61440)/32768 
Set  the  higher  priority  for  the  current  switch  than  for  other 
switches that use the common MSTP instance.  
- instance_id—MST instance. 
- priority—priority of a switch. 
Priority value must be divisible by 4096. 
no spanning-tree mst 
instance_id priority 
Restore the default value. 
spanning-tree mst max-hops 
hop_count 
Set  the  maximum  transit  portions  for  BDPU  packet  required  for 
the tree formation and keeping the information on its structure. If 
the  packet  has  gone  through  the  maximum  quantity  of  transit 
portions, it will be discarded at the next portion. 
no spanning-tree mst 
maxhops 
Restore the default value. 
spanning-tree mst 
configuration 
Enter the MSTP configuration mode.