set protocols bgp dampening


The set protocols bgp ipv4-unicast dampening command enables (with optionally specified dampening parameters) or disables route-flap dampening for all routes of a BGP instance.
The delete protocols bgp ipv4-unicast dampening command deletes the configuration.


Command Syntax

set protocol bgp ipv4-unicast dampening [half-life-timer <half-timer> |  maximum-duration <max-duration> | start-reusing <lower-threshold> | start-suppressing <high-threshold>]

delete protocols bgp ipv4-unicast dampening half-life-timer [half-life-timer <half-timer> |  maximum-duration <max-duration> | start-reusing <lower-threshold> | start-suppressing <high-threshold>]


Parameter

Parameter

Description

half-life-timer <half-timer>Optional. Specifies the half-life time in minutes. When the time expires, the penalty on a route gets reduced
exponentially to half its current value. The value is an integer that ranges from 1 to 45. The default value is 15 minutes.
maximum-duration <max-duration>Optional. Specifies the maximum duration to suppress a stable route in minutes. The value is an integer that ranges from 1 to 255. The default value is 60 minutes.
start-reusing <lower-threshold>Optional. Specifies the lower threshold of penalty. On a suppressed route, when the penalty on a route falls below
this value, the route is unsuppressed. The value is an integer that ranges from 1 to 20000. The default value is 750.
start-suppressing <high-threshold>Optional. Specifies the upper threshold of penalty. When the penalty on a flapping route exceeds this value, the
route is suppressed. The value is an integer that ranges from 1 to 20000. The default value is 2000.


Usage Guidelines

The dampening algorithm assigns a penalty of 1000 to a flapping route every time the route gets withdrawn. The penalty values accumulate on the route every time it flaps. However, the penalty decays and is reduced
to half its value by the half-life time.
NOTE: This feature is not applicable on IBGP routes.


Example
• This example enables dampening with optionally specified parameters.

admin@XorPlus# set protocol bgp ipv4-unicast dampening half-life-timer 20
admin@XorPlus# set protocol bgp ipv4-unicast dampening start-reusing 850
admin@XorPlus# set protocol bgp ipv4-unicast dampening start-suppressing 2500
admin@XorPlus# set protocol bgp ipv4-unicast dampening 30
admin@XorPlus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.