![background image](http://html1.mh-extra.com/html/xenya/xs26gs/xs26gs_user-manual_3274837145.webp)
XS26GS Managed Optical Ethernet Switch User Manual
140
Description
Use
spanning-tree max-age
command to set the max age.
Use
no spanning-tree max-age
command to restore to the default max age.
By default, the max age of a switch is 20 seconds.
To set the three time-related parameters (hello time, forward delay, and max age),
the following formulas must be met to prevent network jitter.
z
2 × (forward delay – 1 second) >= max age
z
Max age >= 2 × (hello time + 1 second)
Examples
XS#
spanning-tree max-age
25
Configure successfully.
spanning-tree priority
Syntax
spanning-tree priority
priority
no spanning-tree priority
View
System view
Parameters
priority
: switch priority to be set. This argument ranges from 0 to 65535. The
default value is 32768.
Description
Use
spanning-tree priority
command to set the priority.
Use
no spanning-tree priority
command to restore the priority to default priority.
The default priority is 32768.
The priorities of switches are used for spanning tree calculation.
Examples
XS#
spanning-tree priority
35000
Configure stp successfully!
spanning-tree max-hops
Syntax
spanning-tree max-hops
hops
no spanning-tree max-hops
View
System view
Parameters
hops
: switch priority to be set. This argument ranges from 0 to 65535. The default
value is 32768.