TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
166
Parameter
pri —— Bridge priority, ranging from 0 to 61440. It is 32768 by default.
Command Mode
Global Configuration Mode
Example
Configure the bridge priority as 4096:
TL-SL3428(config)#spanning-tree priority 4096
spanning-tree tc-defend
Description
The spanning-tree tc-defend command is used to configure the TC Protect of
Spanning Tree globally. To return to the default configuration, please use no
spanning-tree tc-defend command. A switch removes MAC address entries
upon receiving TC-BPDUs. If a malicious user continuously sends TC-BPDUs to
a switch, the switch will be busy with removing MAC address entries, which may
decrease the performance and stability of the network.
Syntax
spanning-tree tc-defend threshold threshold period period
no spanning-tree tc-defend
Parameter
threshold —— TC Threshold, ranging from 1 to 100 packets. By default, it is 20.
TC Threshold is the maximum number of the TC-BPDUs received by the switch
in a TC Protect Cycle.
period —— TC Protect Cycle, ranging from 1 to 10 in seconds. By default, it is
5.
Command Mode
Global Configuration Mode
Example
Configure TC Threshold as 30 packets and TC Protect Cycle as 10 seconds:
TL-SL3428(config)#spanning-tree tc-defend threshold 30 period 10