User's Manual

Table Of Contents
236
Users Manual of CS-6306R
19.2.3.8 Configuring Network Diameter
Network diameter stands for the maximum number of switches between two hosts in the network,
representing the scale of the network.
You can set the MSTP network diameter by running the command spanning-tree mstp
diameternet-diameter. The parameter net-diameter is valid only to CIST. After configuration, three STP time
parameters are automatically updated to comparatively better values.
Run the following command to configure net-diameter:
Command Purpose
spanning-tree mstp diameternet-diameter
Configures net-diameter.
The parameter net-diameter ranges from 2 to 7.
The default value is 7.
no spanning-tree mstp diameter Resumes net-diameter to the default value.
The parameter net-diameter is not saved as an independent setup in the switch. Only when modified by
setting the network diameter can the time parameter be saved.
19.2.3.9 Configuring Maximum Hop Count
Run the following command to configure the maximum hop count.
Command Purpose
spanning-tree mstp max-hopshop-count
Sets the maximum hops.
hop-count ranges from 1 to 40. Its default value is
20.
no spanning-tree mstphop-count
Resumes the maximum hop count to the default
value.
19.2.3.10 Configuring Port Priority
If a loop occurs between two ports of the switch, the port with higher priority will enter the forwarding state
and the port with lower priority is blocked. If all ports have the same priority, the port with smaller port number
will first enter the forwarding state.
In port configuration mode, run the following command to set the priority of the STP port:
Command Purpose
spanning-tree
mstpinstance-idport-prioritypriority
Sets the priority of the STP port.
instance-id stands for the number of the spanning
tree instance, ranging from 0 to 15.
priority stands for the port priority. It can be one of
the following values:
0, 16, 32, 48, 64, 80, 96, 112
128, 144, 160, 176, 192, 208, 224, 240