T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
225
spanning-tree priority
Description
The
spanning-tree priority
command is used to configure the bridge priority. To
return to the default value of bridge priority, please use
no spanning-tree
priority
command.
Syntax
spanning-tree priority
priority
no spanning-tree priority
Parameter
priority
—— Bridge priority, ranging from 0 to 61440. The priority must be an
integral multiple of 4096 and it is 32768 by default.
Command Mode
Global Configuration Mode
Example
Configure the bridge priority as 4096:
T2700G-28TQ(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.