Configuring EVPN Route Flapping Suppression

Configuring EVPN route flapping suppression helps mitigate the impact of EVPN route instability on running services.

Context

Route flapping is a major symptom of EVPN route instability. When an EVPN route flaps, it repeatedly disappears from the routing table and then reappears. EVPN route flapping consumes lots of bandwidth and CPU resources and even affects the normal network operation in extreme cases.

EVPN supports EVPN route flapping suppression through route dampening, which uses a penalty value to reflect the stability of an EVPN route. When an EVPN route flaps, it is assigned a penalty value. A greater number of flapping times indicates a larger penalty value. If the penalty value exceeds the preset threshold, the EVPN route is not advertised. When the penalty value decreases to the reuse threshold after a period of time, the EVPN route is re-advertised.

Pre-configuration Tasks

Before configuring EVPN route flapping suppression, complete one of the following tasks:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  3. Run l2vpn-family evpn

    The BGP EVPN address family view is displayed.

  4. Enable EVPN route dampening and set route dampening parameters.
    • To enable EBGP EVPN route dampening and set route dampening parameters, run the dampening [ half-life-reach reuse suppress ceiling | [ route-policy route-policy-name ] ] * [ update-standard ] command.
    • To enable IBGP EVPN route dampening and set route dampening parameters, run the dampening ibgp [ half-life-reach reuse suppress ceiling | [ route-policy route-policy-name ] ] * [ update-standard ] command.

    The reuse, suppress, and ceiling values must meet the following requirement: reuse value < suppress value < ceiling value.

    After a route-policy is specified, EVPN can use different route dampening parameters to suppress different routes.

  5. Run commit

    The configuration is committed.

Verifying the Configuration

After completing the configuration, perform the following operations to verify it:

  • Run the display bgp evpn all routing-table dampening parameter command to check the set EVPN route dampening parameters.
  • Run the display bgp evpn { all | route-distinguisher route-distinguisher } routing-table flap-info [ mac-route | prefix-route ] command to check statistics about BGP EVPN route flapping.
  • Run the display bgp evpn { all | route-distinguisher route-distinguisher } routing-table [ mac-route | prefix-route ] dampened command to check dampened routes.
  • Run the display bgp evpn { all | route-distinguisher route-distinguisher } routing-table statistics dampened command to check statistics about dampened EVPN routes.

Follow-up Procedure

To clear the dampening information about EVPN routes and release suppressed EVPN routes, run either of the following commands as needed:

To clear statistics about EVPN route flapping, run any of the following commands as needed:

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