User Manual

206
Users Manual of XGS-6350-24X4C
ranging from 6 to 40 seconds. Its default value is
20 seconds.
no spanning-tree mstp max-age Resumes Max Age to the default value.
It is recommended to modify STP time parameters by setting root or network diameter, which ensures correct
modification of time parameters.
The newly-set time parameters are valid even if they do not comply with the previous formula’s requirements.
Pay attention to the notification on the console when you perform configuration.
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