No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - Ethernet Switching

S7700 and S9700 V200R011C10

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring TC Protection on a Switching Device

Configuring TC Protection on a Switching Device


If attackers send pseudo TC BPDUs to attack a switching device, the device receives a large number of TC BPDUs within a short time and frequently deletes MAC address entries and ARP entries. This wastes resources on the switching device and threatens network stability.

To suppress TC BPDUs, enable TC protection on a switching device and set the maximum number of TC BPDUs that the device can process within a given time period. If the number of TC BPDUs that the switching device receives within a given time period exceeds the specified threshold, the switching device processes only the specified number of TC BPDUs. After the specified time period expires, the switching devices process all the excess TC BPDUs together. This function prevents the switching device from frequently deleting MAC entries and ARP entries, protecting the switching device from being overburdened.


  1. Run system-view

    The system view is displayed.

  2. Run stp tc-protection interval interval-value

    The time period during which the device processes the maximum number of TC BPDUs is set.

    By default, the time period is the Hello time.

  3. Run stp tc-protection threshold threshold

    The maximum number of times the switching device processes TC BPDUs and updates forwarding entries within the specified time period is set.

    By default, the device processes only one TC BPDU within a specified time period.

    The switch processes only TC BPDUs of a number configured by stp tc-protection threshold within the time period configured by the stp tc-protection interval command. Other packets are processed after a delay, so spanning tree convergence speed may slow down. For example, if the time period is set to 10 seconds and the maximum of TC BPDUs is set to 5, the switch processes only the first five TC BPDUs within 10 seconds. Subsequent TC BPDUs are processed together 10 seconds later.

Updated: 2019-10-18

Document ID: EDOC1000178310

Views: 287164

Downloads: 141

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next