User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands 8-133
202-10088-01, March 2005
spanning-tree max-hops
This command sets the MSTP Max Hops parameter to a new value for the common and internal
spanning tree. The max-hops value is a range from 1 to 127.
Default 20
Format spanning-tree max-hops <1-127>
Mode Global Config
no spanning-tree max-hops
This command sets the Bridge Max Hops parameter for the common and internal spanning tree to
the default value.
Format no spanning-tree max-hops
Mode Global Config
spanning-tree mst
This command sets the Path Cost or Port Priority for this port within the multiple spanning tree
instance or in the common and internal spanning tree. If the <mstid> parameter corresponds to an
existing multiple spanning tree instance, then the configurations are done for that multiple
spanning tree instance. If however 0 (defined as the default CIST ID) is passed as the <mstid>,
then the configurations are performed for the common and internal spanning tree instance.
If the ‘cost’ token is specified, this command sets the path cost for this port within a multiple
spanning tree instance or the common and internal spanning tree instance, depending on the
<mstid> parameter. The pathcost can be specified as a number in the range of 1 to 200000000 or
auto. If "auto" is specified, the pathcost value will be set based on Link Speed.
If the ‘external-cost’ token is specified, this command sets the external-path cost for MST instance
‘0’ i.e. CIST instance. The external pathcost can be specified as a number in the range of 1 to
200000000 or auto. If "auto" is specified, the external pathcost value will be set based on Link
Speed.