28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using the default reuse threshold of 750, a maximum suppression time of 60 minutes,<br />

and a half-life of 30 minutes, the calculation looks like this:<br />

ε c ≤ 750 * e (60/30) (ln 2)<br />

ε c ≤ 3000<br />

In this case, a route’s figure-of-merit value will stop increasing when it reaches 3,000.<br />

If you change the default damping parameter values, use this formula to make sure<br />

that the suppression threshold is not greater than the merit ceiling. If it is, routes will<br />

never be suppressed and route flap damping will never occur.<br />

After setting the damping parameters, you are ready to create the routing policy for<br />

route flap damping. In this recipe, the policy named damping-policy applies to a particular<br />

peer, 10.0.31.1.<br />

In larger networks, it is common to set up different degrees of damping policy to<br />

apply to different types of routes. In addition to the normal damping parameters set<br />

in this recipe, you can also set up parameters to suppress routes for longer periods of<br />

time:<br />

[edit policy-options damping damping-medium]<br />

aviva@Router3# show<br />

half-life 15;<br />

reuse 1500;<br />

suppress 6000;<br />

max-suppress 45;<br />

[edit policy-options damping damping-high]<br />

aviva@Router3# show<br />

half-life 30;<br />

reuse 1640;<br />

suppress 6000;<br />

max-suppress 60;<br />

The damping-medium parameters increase the decay half-life from 10 to 15 minutes<br />

and the maximum suppression time from 30 to 45 minutes, and the damping-high<br />

parameters increase the half-life to 30 minutes and maximum suppression to 60 minutes.<br />

You apply these two damping parameters to routes that flap a bit more than<br />

normal or severely more than normal. Then, instead of applying the policy to specific<br />

BGP peers, you can apply it to a range of prefixes:<br />

[edit policy-options policy-statement flap-damping]<br />

aviva@Router3# show<br />

from {<br />

route-filter 0.0.0.0/0 upto /21 damping damping-normal;<br />

route-filter 0.0.0.0/0 upto /23 damping damping-medium;<br />

route-filter 0.0.0.0/0 orlonger damping damping-high;<br />

}<br />

then accept;<br />

460 | Chapter 13: BGP<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!