bgp dampening
Use this command to enable BGP route dampening and set various parameters. Route dampening minimizes the instability caused by route flapping. A penalty is added for every flap in a flapping route. As soon as the total penalty reaches the suppress limit the advertisement of the route is suppressed. This penalty is decayed according to the configured half time value. Once the penalty is lower than the reuse limit, the route advertisement is un-suppressed. The dampening information is purged from the router once the penalty becomes less than half of the reuse limit.
Use the no parameter with this command to unset BGP dampening parameters.
Command Syntax
bgp dampening
bgp dampening <1-45>
bgp dampening <1-45> <1-20000> <1-20000> <1-255>
bgp dampening <1-45> <1-20000> <1-20000> <1-255> <1-45>
bgp dampening route-map WORD
no bgp dampening
Parameters
<1-45>
Reachability half-life time for the penalty in minutes. The time for the penalty to decrease to one-half of its current value.
<1-20000>
Value to start reusing a route. When the penalty for a suppressed route decays below the reuse value, the routes become unsuppressed.
<1-20000>
Value to start suppressing a route. When the penalty for a route exceeds the suppress value, the route is suppressed
<1-255>
Maximum duration to suppress a stable route in minutes.
<1-45>
Un-reachability half-life time for the penalty in minutes.
route-map
Route map to specify criteria for dampening.
WORD
Route-map name.
Defaults
The default reachability half-life is 15 minutes.
The default reuse limit is 750.
The default suppress limit is 2000.
The default max-suppress value is 4 times the half-life time, or 60 minutes.
Command Mode
Address Family mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 11
(config-router)#address-family ipv4 unicast
(config-router-af)#bgp dampening 20 800 2500 80 25
Last modified date: 10/16/2023