16.06.2014 Views

Open Shortest Path First (OSPF) - Router Alley

Open Shortest Path First (OSPF) - Router Alley

Open Shortest Path First (OSPF) - Router Alley

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.

<strong>OSPF</strong> v1.31 – Aaron Balchunas<br />

20<br />

Inter-Area <strong>OSPF</strong> Summarization<br />

Consider the above example. <strong>OSPF</strong> is a classless routing protocol, thus all of<br />

the listed networks would be advertised individually. This increases the size<br />

of the topology databases and routing tables on routers in the domain, and<br />

may be undesirable. Advertising only a summary route for inter-area<br />

communication can reduce the load on router CPUs.<br />

For example, all of the networks in Area 1 can be summarized as<br />

10.1.0.0/21. Similarly, all of the networks in Area 2 can be summarized as<br />

10.1.8.0/21.<br />

Inter-area summarization is configured on Area Border <strong>Router</strong>s (ABRs).<br />

Configuration on <strong>Router</strong> A would be as follows:<br />

<strong>Router</strong>A(config)# router ospf 1<br />

<strong>Router</strong>A(config-router)# network 10.1.0.0 0.0.7.255 area 1<br />

<strong>Router</strong>A(config-router)# area 1 range 10.1.0.0 255.255.248.0<br />

The network statement includes all of the 10.1.x.0 networks into Area 1. The<br />

area 1 range command creates a summary route for those networks, which<br />

is then advertised into Area 0, as opposed to each route individually.<br />

Proper design dictates that a static route be created for the summarized<br />

network, pointing to the Null interface. This sends any traffic destined<br />

specifically to the summarized address to the bit-bucket in the sky, in order<br />

to prevent routing loops:<br />

<strong>Router</strong>A(config)# ip route 10.1.0.0 255.255.248.0 null0<br />

In IOS versions 12.1(6) and later, this static route is created automatically.<br />

* * *<br />

All original material copyright © 2007 by Aaron Balchunas (aaron@routeralley.com),<br />

unless otherwise noted. All other material copyright © of their respective owners.<br />

This material may be copied and used freely, but may not be altered or sold without the expressed written<br />

consent of the owner of the above copyright. Updated material may be found at http://www.routeralley.com.

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

Saved successfully!

Ooh no, something went wrong!