The dampening command enables EVPN route dampening or modify EVPN route damping parameters.
The undo dampening command disables EVPN route dampening.
By default, BGP route flapping suppression is disabled.
Parameter | Description | Value |
---|---|---|
half-life-reach |
Specifies the half life of a reachable route. |
The value is an integer ranging from 1 to 45, in minutes. The default value is 15. |
reuse |
Specifies a Reuse value. If the penalty value of a route falls below the Reuse value, the route is reused. |
The value is an integer ranging from 1 to 20000. The default value is 750. |
suppress |
Specifies a Suppress value. If the penalty value of a route exceeds the Suppress value, the route is dampened. |
The value is an integer ranging from 1 to 20000 and must be greater than the value of reuse. The default value is 2000. |
ceiling |
Specifies a penalty ceiling. |
The value is an integer ranging from 1001 to 20000. The configured value must be greater than that of suppress. The default value is 16000. |
route-policy route-policy-name |
Specifies the name of a route-policy. |
The name is a string of 1 to 200 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
update-standard |
Enables BGP to add the standard penalty value to the route carried in each received Update message (excluding Withdraw message). |
- |
ibgp |
Enables IBGP route flap damping. |
- |
Usage Scenario
If a policy is configured for route dampening, routes are preferentially matched against the dampening parameters defined by route-policy in the command.
The four parameters of the command are mutually dependent. If you configure one of the parameters, the other parameters also need to be configured in the command. EVPN dampening measures route stability using a penalty value. The greater the penalty value, the less stable a route. Each time route flapping occurs (the device receives a Withdraw), EVPN adds a penalty value to the route carried in the message. If a route changes from active to inactive, the penalty value increases by 1000. If the penalty value of a route exceeds the Suppress value, the route is dampened. The device does not add the route to the IP routing table or advertise any Update message to other EVPN peers. EVPN removes the best flag of the route. If the route is carried in an Update message, EVPN adds a d flag to the route; if the route is carried in a Withdraw message, EVPN adds an h flag to the route. If a route carries both a d flag and an h flag, the route is considered a deleted one. After the penalty value reaches the penalty ceiling, it does not increase any more. The penalty value of a dampened route reduces by half after a half-life period. If the route is carried in an Update message and its penalty value decreases to the Reuse value, the route becomes reusable, and EVPN removes the d flag from it, adds it to the IP routing table if it is an optimal route, and advertises an Update message carrying the route to EVPN peers. If the route is carried in a Withdraw message and its penalty value decreases to 0, EVPN deletes this route from the EVPN routing table. After EVPN route dampening is configured, any parameter in the command can be used to dampen flapping routes. You can adjust the parameters as required. To increase the dampening time of flapping routes, perform any of the following operations (to reduce the dampening time, perform otherwise):Configuration Impact
If the dampening command is run more than once, the latest configuration overrides the previous one.
After the dampening command is run, the system dampens unstable routes. Specifically, the system does not add unstable routes to the EVPN routing table or advertise them to other EVPN peers.Precautions
Note the following items when configuringEVPNroute dampening: