28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

figure-of-merit value correlates to the probability of a route’s future instability, and the<br />

value decays exponentially over time. BGP suppresses routes with higher figure-ofmerit<br />

values for longer periods of time.<br />

For a new route, BGP assigns a figure-of-merit value of 0. If the route experiences any<br />

instability, the value is increased based on the following rules:<br />

• If the route is withdrawn by the EBGP peer, the value increases by 1,000.<br />

• If the route is readvertised by the EBGP peer, the value increases by 1,000.<br />

• If the BGP attributes for the route change in a new Update message from the<br />

EBGP peer, the value increases by 500.<br />

The points, or demerits, given to a route decrease over time and decay exponentially.<br />

This time is the half-life of the route. If the demerits decay faster than the figure-ofmerit<br />

value increases, the route will not be suppressed. When the figure-of-merit value<br />

increases beyond a cutoff value, called the suppression threshold (also called the cutoff<br />

threshold), the route is suppressed and is considered unusable. The router will ignore<br />

any new information about the route received from its peers and will not install it<br />

into the forwarding table or forward the route to any other routing protocols. The<br />

figure-of-merit value continues to decay based on the half-life. When the value drops<br />

below the reuse threshold, it is unsuppressed and again considered usable.<br />

The damping parameters that you configure play into the figure of merit. The<br />

suppress statement controls the suppression threshold. By default, when a route’s<br />

figure-of-merit value reaches 3,000, it is suppressed. The figure-of-merit value decays<br />

exponentially over the half-life that you set with the half-life statement. The default<br />

half-life is 15 minutes. To illustrate how the decay works, if a route has a figure-ofmerit<br />

value of 1,000 and no incidents occur, the value decays to 500 after 15 minutes,<br />

then to 250 after another 15 minutes. You set the reuse threshold with the<br />

reuse statement. The default is 750. As the figure-of-merit value continues to decay,<br />

when it drops below the reuse threshold, the route becomes usable again. The maximum<br />

amount of time a route can be suppressed is 60 minutes by default, which you<br />

can modify with the max-suppress statement.<br />

The first step in configuring damping parameters is to create a named parameter list.<br />

In this recipe, the list is named damping-normal, which sets up a standard set of<br />

damping parameters. The figure-of-merit value decays over 15 minutes, which is the<br />

default half-life. Routes are suppressed when their figure of merit reaches a value of<br />

6,000 (instead of the default 3,000) and are unsuppressed at half that value (3,000)<br />

instead of at the default value (750). Finally, in the recipe, routes remain suppressed<br />

for a maximum of 30 minutes instead of the default 60 minutes.<br />

The figure of merit doesn’t increase forever but stops when it reaches the merit ceiling,<br />

ε c , which is a value that is calculated based on the reuse threshold (ε r ); half-life<br />

(λ), in minutes; and maximum suppression time (t), in minutes:<br />

ε c ≤ε r ∗ e (t/l) (ln 2)<br />

Mitigating Route Instabilities with Route Flap Damping | 459<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!