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.

Check the firewall filter counts with the following command:<br />

aviva@router1> show firewall filter rpf-failed-count<br />

Filter: rpf-filter<br />

Counters:<br />

Name Bytes Packets<br />

rpf-failed-count 2492 23<br />

See Also<br />

Recipe 9.8<br />

8.8 Aggregating Routes<br />

Problem<br />

You want to aggregate some of the routes in the routing table to reduce the size of<br />

the tables and to minimize the amount of routing-information advertisements<br />

between routers.<br />

Solution<br />

Configure an aggregate route that covers the specific routes beneath it:<br />

[edit routing-options]<br />

aviva@router1# set aggregate route 10.20.8.0/21<br />

<strong>Discussion</strong><br />

In this recipe, the routing table contains prefixes for 10.20.13.0/24 and 10.20.15.0/<br />

24, which aggregate as 10.20.8.0/21. Unlike static routes, you do not specify a next<br />

hop in the set aggregate route command, because aggregate routes are not “real”<br />

routes but rather are just route summaries. The default next hop is reject. Aggregate<br />

routes become active if a more specific route beneath them becomes active. For<br />

example, if 10.20.13.0/24 becomes active, the aggregate 10.20.8.0/21 also becomes<br />

active, and you then see it in the routing table:<br />

aviva@RouterJ> show route<br />

inet.0: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden)<br />

+ = Active Route, - = Last Active, * = Both<br />

10.20.8.0/21 *[Aggregate/130] 00:00:03<br />

Reject<br />

10.20.13.0/24 *[Direct/0] 00:01:30<br />

> via fe-1/0/1.0<br />

10.20.13.1/32 *[Local/0] 00:01:30<br />

Local via fe-1/0/1.0<br />

10.20.15.0/24 *[Direct/0] 00:01:30<br />

> via fe-1/0/0.0<br />

10.20.15.1/32 *[Local/0] 00:01:30<br />

Local via fe-1/0/0.0<br />

172.19.121.0/24 *[Direct/0] 1d 21:12:45<br />

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

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.<br />

Aggregating Routes | 269

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

Saved successfully!

Ooh no, something went wrong!