
3
•
Decay
—The amount of time (in seconds) after which a penalty is decreased.
•
Max-suppress-time
—The maximum amount of time the interface can be dampened. If the
penalty is still higher than the reuse threshold when this timer expires, the penalty stops
increasing for down events. The penalty starts to decrease until it drops below the reuse
threshold.
When configuring the
dampening
command, follow these rules to set the values mentioned above:
•
The ceiling is equal to 2
(Max-suppress-time/Decay)
× reuse-limit. It is not user configurable.
•
The configured suppress limit is lower than or equal to the ceiling.
•
The ceiling is lower than or equal to the maximum suppress limit supported.
shows the change rule of the penalty value. The lines t
0
and t
2
indicate the start time and
end time of the suppression, respectively. The period from t
0
to t
2
indicates the suppression period, t
0
to t
1
indicates the max-suppress-time, and t
1
to t
2
indicates the complete decay period.
Figure 1 Change rule of the penalty value
Restrictions and guidelines
•
The
dampening
command does not take effect on the administratively down events. When
you execute the
shutdown
command, the penalty restores to 0, and the interface reports the
down event to the upper-layer protocols.
•
Do not enable the dampening feature on an interface with spanning tree protocols enabled.
Procedure
1.
Enter system view.
system-view
2.
Enter Ethernet interface view.
interface
interface-type interface-number
3.
Enable dampening on the interface.
dampening
[
half-life reuse suppress max-suppress-time
]
By default, interface dampening is disabled on Ethernet interfaces.
Not suppressed
Not suppressed
Suppressed
Penalty
Time
Reuse limit
Suppress limit
Ceiling
t
0
t
1
t
2