The stp tc-protection threshold command sets the number of times that a device handles received TC BPDUs and updates forwarding entries within a unit time.
The undo stp tc-protection threshold command restores the default setting.
By default, after a device receives TC BPDUs, the default number of times that the device handles the TC BPDUs and updates forwarding entries is 1 within a unit time.
Parameter | Description | Value |
---|---|---|
threshold | Indicates the number of times that a device handles the TC BPDU and updates forwarding entries per unit of time. | The value is an integer ranging from 1 to 255. |
System view or MST process region view
Usage Scenario
On a Layer 2 network where MSTP is run, a switching device that receives TC BPDUs will delete the corresponding MAC entries and ARP entries. Frequent deletion operations will greatly affect the CPU, leading to a high CPU usage.
The value of the unit time is consistent with the Hello time and can be set using the stp timer hello command.