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.


Fat AP and Cloud AP V200R010C00 Command Reference

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).
stp tc-protection interval

stp tc-protection interval


The stp tc-protection interval command sets the time for a device to process the maximum number of TC BPDUs.

The undo stp tc-protection interval command restores the default value.

By default, the time is the Hello timer length.


stp tc-protection interval interval-value

undo stp tc-protection interval


Parameter Description Value
interval-value Specifies the time for a device to process the maximum number of TC BPDUs. The value is an integer ranging from 1 to 600, in seconds.


System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a Layer 2 network running a spanning tree protocol, a device deletes MAC address entries and ARP entries after receiving TC packets. Frequent entry deletion may cause high CPU usage.

After you have run the stp tc-protection command to enable TC protection, you can configure the time, which the device takes to handle a given number of TC packets and immediately refresh forwarding entries, by running the stp tc-protection interval command. Within the time specified by interval-value, the device handles a given number of TC packets. Excess TC packets are processed by the device at once after the timer (whose length is the configured time) expires. This mechanism ensures that the device does not frequently delete its MAC entries and ARP entries, and therefore does not have excessive CPU usage.

You can specify the maximum number of TC packets that the device processes can handle in the specified time by running the stp tc-protection threshold command.


TC protection has been enabled by running the stp tc-protection command.


# Configure the amount of time, which MSTP process takes to handle a given number of TC packets and immediately refreshes forwarding entries, to 10 seconds.
<Huawei> system-view
[Huawei] stp tc-protection interval 10
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 203411

Downloads: 122

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