3com S7906E 参照ガイド

ページ / 2327
 
1-21 
Examples 
# Enable the loop guard function on GigabitEthernet 2/0/1.  
<Sysname> system-view 
[Sysname] interface GigabitEthernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] stp loop-protection 
stp max-hops 
Syntax 
stp max-hops hops 
undo stp max-hops 
View 
System view 
Default Level 
2: System level 
Parameters 
hops: Maximum hops, in the range of 1 to 40 
Description 
Use the stp max-hops command to set the maximum hops of the MST region on the device.  
Use the undo stp max-hops command to restore the maximum hops to the default setting.  
By default, the maximum number of hops of an MST region is 20.  
The maximum hops configured in an MST region limit the size of the MST region. In an MST region, the 
maximum hops configured on the regional root bridge are the maximum hops of this MST region. After a 
configuration BPDU leaves the root bridge, its hop count is decremented by 1 each time it passes a 
device. When its hop count reaches 0, it will be discarded by the device that received it. As a result, 
devices beyond the maximum hop count are unable to take part in spanning tree calculation, and 
thereby the size of the MST region is limited.  
Devices other than the root bridge in an MST region use the maximum hops setting on the root bridge.  
Examples 
# Set the maximum hops of the MST region to 35.  
<Sysname> system-view 
[Sysname] stp max-hops 35 
stp mcheck 
Syntax 
stp mcheck 
View 
System view, Ethernet port view, Layer-2 aggregate port view