110
Description
Use the
stp tc-protection threshold
command to configure the maximum number of forwarding address
entry flushes that the switch can perform within a certain period of time after it receives the first TC-BPDU.
Use the
undo stp tc-protection threshold
command to restore the default.
By default, the switch can perform a maximum of six forwarding address entry flushes within 10 seconds
after it receives the first TC-BPDU.
Examples
# Configure the switch to perform up to ten forwarding address entry flushes within 10 seconds after it
receives the first TC-BPDU.
<Sysname> system-view
[Sysname] stp tc-protection threshold 10
stp timer forward-delay
Syntax
stp timer forward-delay
time
undo stp
timer forward-delay
View
System view
Default level
2: System level
Parameters
time
: Sets the forward delay in centiseconds, ranging from 400 to 3000 in steps of 100.
Description
Use the
stp timer forward-delay
command to set the forward delay timer of the switch.
Use the
undo stp timer forward-delay
command to restore the system default.
By default, the forward delay timer is set to 1500 centiseconds.
The forward delay timer set on the root bridge determines the time interval of state transition. To prevent
temporary loops, a port must go through the learning (intermediate) state before it transitions from the
discarding to the forwarding state. To stay synchronized with the remote switch, the port has a wait
period between transition states that is determined by the forward delay timer.
H3C does not recommend you to set the forward delay by using this command. Instead, you can use the
stp bridge-diameter
command to set the network diameter and let MSTP automatically calculates the
forward delay according to the network size. When the network diameter is the default value, the
forward delay is also set to the default.
Related commands:
stp timer hello
,
stp timer max-age
, and
stp bridge-diameter
.
Examples
# Set the forward delay timer of the switch to 2000 centiseconds.
<Sysname> system-view
[Sysname] stp timer forward-delay 2000