82undo stp tc-protectionDefaultThe TC-BPDU attack guard function is enabled.ViewsSystem viewPredefined user rolesnetwork-adminmdc-adminUsage guidelinesWith the TC-BPDU guard function, you can set the maximum number of immediate forwardingaddress entry flushes that the device can perform within a certain interval (every 10 seconds). ForTC-BPDUs received that exceed the limit, the device performs a forwarding address entry flushwhen the interval elapses. This prevents frequent flushing of forwarding address entries.Examples# Disable the TC-BPDU attack guard function for the device. system-view[Sysname] undo stp tc-protectionRelated commandsstp tc-protection thresholdstp tc-protection thresholdUse stp tc-protection threshold to configure the maximum number of forwarding address entryflushes that the device can perform within a certain interval (every 10 seconds).Use undo stp tc-protection threshold to restore the default.Syntaxstp tc-protection threshold numberundo stp tc-protection thresholdDefaultBy default, the device can perform a maximum of six forwarding address entry flushes every 10seconds.ViewsSystem viewPredefined user rolesnetwork-adminmdc-adminParametersnumber: Sets the maximum number of immediate forwarding address entry flushes that the devicecan perform within a certain interval (10 seconds). The value is in the range of 1 to 255.