145
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 port 2:
T1500-28PCT(config)# interface fastEthernet 1/0/2
T1500-28PCT(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 port 2:
T1500-28PCT(config)# interface fastEthernet 1/0/2
T1500-28PCT(config-if)# spanning-tree mcheck