CLI Reference Guide
Example
Configure TC Threshold as 30 packets and TC Protect Cycle as 10 seconds:
TL-SG3424(config)# spanning-tree tc-defend threshold 30 period 10
spanning-tree timer
Description
The spanning-tree timer command is used to configure forward-time, hello-time
and max-age of Spanning Tree. To return to the default configurations, please
use no spanning-tree timer command.
Syntax
spanning-tree timer {[ forward-ti me forward-time ] [ he llo-time hello-time ]
[ max-age max-age ]}
no spanning-tree time r
Parameter
forward-time —— Forward Delay, which is the time for the port to transit its state
after the network topology is changed. Forward Delay ranges from 4 to 30 in
seconds and it is 15 by default. Otherwise, 2 * (Forward Delay - 1) ≥ Max Age.
hello-time ——Hello Time, which is the interval to send BPDU packets, and used
to test the links. Hello Time ranges from 1 to 10 in seconds and it is 2 by default.
Otherwise, 2 * (Hello Time + 1) ≤ Max Age.
max-age —— The maximum time the switch can wait without receiving a BPDU
before attempting to reconfigure, ranging from 6 to 40 in seconds. By default, it is
20.
Command Mode
Global Configuration Mode
Example
Configure forward-time, hello-time and max-age for Spanning Tree as 16
seconds, 3 seconds and 22 seconds respectively:
TL-SG3424(config)# spanning-tree time r forward-time 16 hello-time 3
max-age 22
198