set dampening

To set the Border Gateway Protocol (BGP) route dampening factors, use the set dampening command. To disable this function, use the no form of this command.

set dampening half-life reuse suppress max-suppress-time

no set dampening

Syntax Description

half-life
Time (in minutes) after which a penalty is decreased. Once the route has been assigned a penalty, the penalty is decreased by half after the half life period (which is 15 minutes by default). The process of reducing the penalty occurs every 5 seconds. The range is from 1 to 45, and the default is 15.
reuse
Route that is unsuppressed if the penalty for a flapping route decreases enough to fall below this value. The process of unsuppressing routes occurs at 10-second increments. Range: 1 to 20000. Default: 750.
suppress
Route that is suppressed when its penalty exceeds this limit. The range is from 1 to 20000, and the default is 2000.
max-suppress-time
Maximum time (in minutes) that a route can be suppressed. The range is from 1 to 255, and the default is four times the half-life value. If the default half-life value is used, the maximum suppress time defaults to 60 minutes.

Command Default

Disabled

Command Modes

Route-map configuration mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

Use the route-map global configuration command and the match and set route-map configuration commands to define the conditions for redistributing routes from one routing protocol into another. Each route-map command has a list of match and set commands associated with it. The match commands specify the match criteria—the conditions under which redistribution is allowed for the current route-map command. The set commands specify the set actions—the particular redistribution actions to perform if the criteria enforced by the match commands are met. The no route-map command deletes the route map.

When a BGP peer is reset, the route is withdrawn and the flap statistics cleared. In this instance, the withdrawal does not incur a penalty even though route flap dampening is enabled.

Examples

This example sets the half life to 30 minutes, the reuse value to 1500, the suppress value to 10000, and the maximum suppress time to 120 minutes:

switch(config)# route-map test1 10 permit
switch(config-route-map)# set dampening 30 1500 10000 120
switch(config-route-map)#

Related Commands

Command
Description
route-map
Defines the conditions for redistributing routes from one routing protocol into another.