85
Usage guidelines
With the TC-BPDU guard function, you can set the maximum number of immediate forwarding
address entry flushes that the device can perform every a certain period of time (10 seconds). For
TC-BPDUs received in excess of the limit, the device performs a forwarding address entry flush
when the time period expires. This prevents frequent flushing of forwarding address entries.
Examples
# Disable the TC-BPDU attack guard function for the device.
<Sysname> system-view
[Sysname] stp tc-protection disable
Related commands
stp tc-protection threshold
stp tc-protection threshold
Use
stp tc-protection threshold
to configure the maximum number of forwarding address entry
flushes that the device can perform every a certain period of time (10 seconds).
Use
undo stp tc-protection threshold
to restore the default.
Syntax
stp tc-protection threshold number
undo stp tc-protection threshold
Default
The device can perform a maximum of 6 forwarding address entry flushes every 10 seconds.
Views
System view
Default command level
2: System level
Parameters
number
: Sets the maximum number of immediate forwarding address entry flushes that the device
can perform within a certain period of time (10 seconds). The value range is 1 to 255.
Examples
# Configure the device to perform up to 10 forwarding address entry flushes every 10 seconds.
<Sysname> system-view
[Sysname] stp tc-protection threshold 10
Related commands
stp tc-protection
stp timer forward-delay
Use
stp timer forward-delay
to set the forward delay timer of the device.
Use
undo stp timer forward-delay
to restore the default.
Syntax
stp timer forward-delay
time
undo stp
timer forward-delay