The
half-life
parameter specifies the number of minutes after which the penalty for a route becomes half its value. The route penalty
allows routes that have remained stable for a period despite earlier instability to eventually become eligible for use again. The decay rate
of the penalty is proportional to the value of the penalty. After the half-life expires, the penalty decays to half its value. A dampened route
that is no longer unstable can eventually again become eligible for use. You can configure the half-life to be from 1 through 45 minutes.
The default is 15 minutes.
The
reuse
parameter specifies how low a penalty for a route must be before the route becomes eligible for use again, after being
suppressed. You can set the reuse threshold to a value from 1 through 20000. The default is 750 (0.75, or three-fourths, of the penalty
assessed for a one flap).
The
suppress
parameter specifies how high the penalty for a route can be before the device suppresses the route. You can set the
suppression threshold to a value from 1 through 20000. The default is 2000 (more than two flaps).
The
max-suppress-time
parameter specifies the maximum number of minutes that a route can be suppressed regardless of how
unstable it is. You can set the maximum suppression time to a value from 1 through 255 minutes. The default is 40 minutes.
This example shows how to change the dampening parameters.
device(config-bgp-router)# dampening 20 200 2500 40
This command changes the half-life to 20 minutes, the reuse threshold to 200, the suppression threshold to 2500, and the maximum
number of minutes a route can be dampened to 40.
NOTE
To change any of the parameters, you must specify all the parameters with the command. To want to leave any parameters
unchanged, enter their default values.
Using a route map to configure route flap dampening for a specific
neighbor
You can use a route map to configure route flap dampening for a specific neighbor by performing the following tasks:
•
Configure an empty route map with no match or set clauses. This route map does not specify particular routes for dampening
but does allow you to enable dampening globally when you refer to this route map from within the BGP4 configuration level.
•
Configure another route map that explicitly enables dampening. Use a set clause within the route map to enable dampening.
When you associate this route map with a specific neighbor, the route map enables dampening for all routes associated with the
neighbor. You also can use match clauses within the route map to selectively perform dampening on some routes from the
neighbor.
NOTE
You still need to configure the first route map to enable dampening globally. The second route map does not enable dampening
by itself; it just applies dampening to a neighbor.
•
Apply the route map to the neighbor.
To enable route flap dampening for a specific BGP4 neighbor, enter commands such as the following.
device(config)# route-map DAMPENING_MAP_ENABLE permit 1
device(config-routemap DAMPENING_MAP_ENABLE)# exit
device(config)# route-map DAMPENING_MAP_NEIGHBOR_A permit 1
device(config-routemap DAMPENING_MAP_NEIGHBOR_A)# set dampening
device(config-routemap DAMPENING_MAP_NEIGHBOR_A)# exit
device(config)# router bgp
device(config-bgp)# dampening route-map DAMPENING_MAP_ENABLE
device(config-bgp)# neighbor 10.10.10.1 route-map in DAMPENING_MAP_NEIGHBOR_A
Configuring route flap dampening
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
425
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...