Configuring Flap Damping Parameters
To define damping parameters, include the
dampingstatement:dampingname{disable;half-lifeminutes;max-suppressminutes;reusenumber;suppressnumber;}You can include this statement at the following hierarchy levels:
The name identifies the group of damping parameters. It can contain letters, numbers, and hyphens (-) and can be up to 255 characters. To include spaces in the name, enclose the entire name in quotation marks (double quotes).
You can specify one or more of the damping parameters described in Table 25.
If you do not specify one or more of the damping parameters, the default value of the parameter is used.
To understand how to configure these parameters, you need to understand how damping suppresses routes. How long a route can be suppressed is based on a figure of merit, which is a value that correlates to the probability of future instability of a route. Routes with higher figure-of-merit values are suppressed for longer periods of time. The figure-of-merit value decays exponentially over time.
A figure-of-merit value of zero is assigned to each new route. The value is increased each time the route is withdrawn or readvertised, or when one of its path attributes changes. With each incident of instability, the value increases as follows:
- Route is withdrawn—1000
- Route is readvertised—1000
- Route's path attributes change—500
When a route's figure-of-merit value reaches a particular level, called the cutoff or suppression threshold, the route is suppressed. If a route is suppressed, the routing table no longer installs the route into the forwarding table and no longer exports this route to any of the routing protocols. By default, a route is suppressed when its figure-of-merit value reaches 3000. To modify this default, include the
suppressoption at the[edit policy-options dampingname]hierarchy level.If a route has flapped, but then becomes stable so that none of the incidents listed above occur within a configurable amount of time, the figure-of-merit value for the route decays exponentially. The default half-life is 15 minutes. For example, for a route with a figure-of-merit value of 1500, if no incidents occur, its figure-of-merit value is reduced to 750 after 15 minutes and to 375 after another 15 minutes. To modify the default half-life, include the
half-lifeoption at the[edit policy-options dampingname]hierarchy level.A suppressed route becomes reusable when its figure-of-merit value decays to a value below a reuse threshold, thus allowing routes that experience transient instability to once again be considered valid. The default reuse threshold is 750. When the figure-of-merit value passes below the reuse threshold, the route once again is considered usable and can be installed in the forwarding table and exported from the routing table. To modify the default reuse threshold, include the
reuseoption at the[edit policy-options dampingname]hierarchy level.The maximum suppression time provides an upper bound on the time that a route can remain suppressed. The default maximum suppression time is 60 minutes. To modify the default, include the
max-suppressoption at the[edit policy-options dampingname]hierarchy level.A route's figure-of-merit value stops increasing when it reaches a maximum suppression threshold, which is determined based on the route's suppression threshold level, half-life, reuse threshold, and maximum hold-down time.
The merit ceiling, ec, which is the maximum merit that a flapping route can collect, is calculated using the following formula:
ec £ er2(t/l) (ln 2)er is the figure-of-merit reuse threshold,
tis the maximum hold-down time in minutes, and l is the half-life in minutes. For example, if you use the default figure-of-merit values in this formula, but use a half-life of 30 minutes, the calculation is as follows:ec £ 7502(60/30) (ln 2)ec £ 3000To display figure-of-merit information, use the
show policy dampingcommand.A route that has been assigned a figure of merit is considered to have a damping state. To display the current damping information on the router, use the
show route detailcommand.