XS26GS Managed Optical Ethernet Switch User Manual
138
System view, Ethernet port view
Parameters
None.
Description
Use
spanning-tree
command to enable STP globally (in System view) or for a port
(in Ethernet port view).
Use
no spanning-tree
command to disable STP globally (in System view) or for a
port (in Ethernet port view).
By default, STP is disabled both globally and on ports.
Examples
XS(Ethernet0/1)#
spanning-tree
Enable ethernet0/1 spanning tree successfully.
spanning-tree forward-time
Syntax
spanning-tree forward-time
timer-value
no spanning-tree forward-time
View
System view
Parameters
timer-value
: forward delay in seconds to be set. This argument ranges from 4 to 30.
The default value is 15 seconds.
Description
Use
spanning-tree forward-time
command to set the forward delay of the
switch.
Use
no spanning-tree forward-time
command to restore the forward delay to
the default value.
By default, the forward delay of the switch is 15 seconds.
To prevent the occurrence of temporary loops, when a port changes its state from
discarding to forwarding, it undergoes an intermediate state and waits for a specific
period of time to synchronize with the state transition of the remote switches. This
state transition period is determined by the forward delay configured on the root
bridge.
The forward delay setting configured on a root bridge applies to all non-root bridges.
As for the configuration of the three time-related parameters (hello time, forward
delay, and max age), the following formulas must be met to prevent network jitter.
z
2 x (forward delay – 1 second) >= max age
z
Max age >= 2 x (hello time + 1 second)
Examples