240
Command: spanning-tree forward-time <time>
no spanning-tree forward-time
Function:
Set the switch forward delay time; The command “
no spanning-tree
forward-time
” restores the default setting.
Parameter: <time>
is forward delay time in seconds. The valid range is from 4 to 30.
Command mode:
Global Mode
Default:
The forward delay time is 15 seconds by default.
Usage Guide:
When the network topology changes, the status of the port is changed
from blocking to forwarding. This delay is called the forward delay. The forward delay is
co working with hello time and max age. The parameters should meet the following
conditions. Otherwise, the MSTP may work incorrectly.
2 * (Bridge_Forward_Delay - 1.0 seconds) >= Bridge_Max_Age
Bridge_Max_Age >= 2 * (Bridge_Hell 1.0 seconds)
Example:
In global mode, set MSTP forward delay time to 20 seconds.
Switch(Config)#spanning-tree forward-time 20
8.3.9 spanning-tree hello-time
Command:spanning-tree hello-time <time>
no spanning-tree hello-time
Function:
Set switch Hello time; The command “
no spanning-tree hello-time
” restores
the default setting.
Parameter: <time>
is Hello time in seconds. The valid range is from 1 to 10.
Command mode:
Global Mode
Default:
Hello Time is 2 seconds by default.
Usage Guide:
Hello time is the interval that the switch sends BPDUs. Hello time is co
working with forward delay and max age. The parameters should meet the following
conditions. Otherwise, the MSTP may work incorrectly.
2 * (Bridge_Forward_Delay - 1.0 seconds) >= Bridge_Max_Age
Bridge_Max_Age >= 2 * (Bridge_Hell 1.0 seconds)
Example:
Set MSTP hello time to 5 seconds in global mode.
Switch(Config)#spanning-tree hello-time 5
8.3.10 spanning-tree link-type p2p
Command: spanning-tree link-type p2p {auto|force-true|force-false}
no spanning-tree link-type
Function:
Set the link type of the current port; The command “
no spanning-tree