< Home

Configuring BGP Route Dampening

BGP route dampening can be configured to suppress unstable routes.

Context

The main cause of route instability is route flapping. A route is considered to be flapping when it repeatedly appears and then disappears in the routing table. BGP is generally applied to complex networks where routes change frequently. Frequent route flapping consumes lots of bandwidth and CPU resources and even seriously affects network operations.

BGP route dampening prevents frequent route flapping by using a penalty value to measure route stability. When a route flaps for the first time, a penalty value is assigned to the route. Later, each time the route flaps, the penalty value of the route increases by a specific value. The greater the penalty value, the less stable the route. If the penalty value of a route exceeds the pre-defined threshold, the route will not be advertised until the penalty value of the route reduces to the reuse threshold.

Route dampening applies only to EBGP routes. IBGP routes, however, cannot be dampened. Generally, IBGP routes include routes from the local AS, requiring that the forwarding tables be the same. In addition, IGP fast convergence aims to achieve information synchronization. If IBGP routes are dampened, dampening parameters vary on different devices, and the forwarding tables are inconsistent.

Procedure

  1. Access the system view.

    system-view

  2. Access the BGP view.

    bgp { as-number-plain | as-number-dot }

  3. Access the BGP IPv4 unicast address family view.

    ipv4-family unicast

  4. Set BGP route dampening parameters.

    dampening [ half-life-reach reuse suppress ceiling | route-policy route-policy-name ] *

    The dampening command takes effect only for EBGP routes.

    When you configure BGP route dampening, the values of reuse, suppress, and ceiling should meet the relationship of reuse<suppress<ceiling.

    If routes are differentiated based on policies and the dampening command is run to reference a route-policy, BGP can use different route dampening parameters to suppress different routes.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic