Operation Manual – MSTPH3C S3100 Series Ethernet Switches Chapter 1 MSTP Configuration1-27mechanism disables the switches that are beyond the maximum hop count fromparticipating in spanning tree calculation, and thus limits the size of an MST region.With such a mechanism, the maximum hop count configured on the switch operating asthe root bridge of the CIST or an MSTI in an MST region becomes the network diameterof the spanning tree, which limits the size of the spanning tree in the current MST region.The switches that are not root bridges in the MST region adopt the maximum hopsettings of their root bridges.I. Configuration procedureTable 1-15 Configure the maximum hop count for an MST regionOperation Command DescriptionEnter system view system-view —Configure the maximum hopcount of the MST region stp max-hops hopsRequiredBy default, the maximum hopcount of an MST region is 20.The bigger the maximum hop count, the larger the MST region is. Note that only themaximum hop settings on the switch operating as a region root can limit the size of theMST region.II. Configuration example# Configure the maximum hop count of the MST region to be 30. system-view[Sysname] stp max-hops 301.3.8 Configuring the Network Diameter of the Switched NetworkIn a switched network, any two switches can communicate with each other through aspecific path made up of multiple switches. The network diameter of a network ismeasured by the number of switches; it equals the number of the switches on thelongest path (that is, the path containing the maximum number of switches).I. Configuration procedureTable 1-16 Configure the network diameter of the switched networkOperation Command DescriptionEnter system view system-view —Configure the networkdiameter of the switchednetworkstp bridge-diameterbridgenumberRequiredThe default networkdiameter of a network is 7.