TP-LINK 24-Port 10/100Mbps + 4-Port Gigabit L2 Managed Switch TL-SL3428 Data Sheet

Product codes
TL-SL3428
Page of 232
TL-SL3428/TL-SL3452
JetStream L2 Managed Switch CLI Guide
 
172
 
spanning-tree guard tc 
Description 
The  spanning-tree guard tc command is used to enable the TC Protect of 
Spanning Tree function for a port. To disable the TC Protect of Spanning Tree 
function, please use no spanning-tree guard tc 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. With the Protect of Spanning Tree function enabled, you 
can configure the number of TC-BPDUs in a required time, so as to avoid the 
process of removing MAC addresses frequently. 
Syntax 
spanning-tree guard tc 
no spanning-tree guard tc 
Command Mode 
Interface Configuration Mode (interface fastEthernet / interface range 
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) 
Example 
Enable the TC Protect of Spanning Tree for Fast Ethernet port 2: 
TL-SL3428(config)#interface fastEthernet 1/0/2 
TL-SL3428(config-if)#spanning-tree guard tc 
spanning-tree mcheck 
Description 
The spanning-tree mcheck command is used to enable MCheck. 
Syntax 
spanning-tree mcheck 
Command Mode 
Interface Configuration Mode (interface fastEthernet / interface range 
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) 
Example 
Enable MCheck for Fast Ethernet port 2: