TP-LINK 16-Port Gigabit Web Smart Switch with 2 Combo SFP Slots TL-SG2216WEB Data Sheet

Product codes
TL-SG2216WEB
Page of 226
 
no spanning-tree guard loop 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet) 
Example 
Enable the Loop Protect function for port 2: 
TL-SG2424(config)# interface gigabitEthernet 1/0/2 
TL-SG2424(config-if)# spanning-tree guard loop 
spanning-tree guard root 
Description 
The 
spanning-tree guard root command is used to enable the Root Protect 
function for a port. With the Root Protect function enabled, the root bridge will 
set itself automatically as ERROR-PORT when receiving BPDU packets with 
higher priority, in order to maintain the role of root ridge. To disable the Root 
Protect function, please use 
no spanning-tree guard root command. 
Syntax 
spanning-tree guard root 
no spanning-tree guard root 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet) 
Example 
Enable the Root Protect function for port 2: 
TL-SG2424(config)# interface gigabitEthernet 1/0/2 
TL-SG2424(config-if)# spanning-tree guard root 
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 
152