Langsung ke konten utama

CCNP / BSCI Exam Tutorial: Route Summarization And The OSPF Null Interface

CCNP exam success, particularly on the BSCI exam, demands you understand the details of route summarization.  This skill not only requires that you have a comfort level with binary conversions, but you have to know how and where to apply route summarization with each individual protocol.

You also have to know the "side effects" of route summarization.  With OSPF, there will actually be an extra interface created at the point of summarization, and this catches a lot of CCNP candidates by surprise.  Let's take a look at the null0 interface and how it relates to OSPF summarization.

On R1, the following networks are redistributed into OSPF, and then summarized.

interface Loopback16

 ip address 16.16.16.16 255.0.0.0


interface Loopback17

 ip address 17.17.17.17 255.0.0.0


interface Loopback18

 ip address 18.18.18.18 255.0.0.0

interface Loopback19

 ip address 19.19.19.19 255.0.0.0

R1(config)#router ospf 1

R1(config-router)#redistribute connected subnets

R1(config-router)#summary-address 16.0.0.0 252.0.0.0

The summary address appears on R2, a downstream router.

R2#show ip route ospf


O E2 16.0.0.0/6 [110/20] via 172.12.123.1, 00:00:05, Serial0


Let's go back to R1 and look at its OSPF table.

R1#show ip route ospf


O    16.0.0.0/6 is a summary, 00:01:51, Null0

Where did the null0 interface come from, and why is it there?  Packets sent to the null interface are dropped, and in this case, that's a good thing. 

When you configure summary routes in OSPF, a route to null0 will be installed into the OSPF routing table.  This helps to prevent routing loops.  Any packets destined for the routes that have been summarized will have a longer match in the routing table, as shown below...

C    17.0.0.0/8 is directly connected, Loopback17

C    16.0.0.0/8 is directly connected, Loopback16

C    19.0.0.0/8 is directly connected, Loopback19

C    18.0.0.0/8 is directly connected, Loopback18

O  16.0.0.0/6 is a summary, 00:01:51, Null0


.. and packets that do not match one of the summarized routes but do match the summary route will be dropped.

Preventing routing loops when performing route redistribution and summarization is vital.  OSPF gives us a little help in that regard in this situation, and as you study more complex redistribution scenarios on your way to the CCNP and CCIE, you'll realize that we'll take all the help we can get!


Komentar

Postingan populer dari blog ini

CCNP / BCMSN Exam Tutorial: VLAN Trunking Protocol (VTP)

Passing the BCMSN exam and getting one step closer to the CCNP certification means learning and noticing details that you were not presented with in your CCNA studies. (Yes, I know – you had more than enough details then, right?)   One protocol you’ve got to learn more details about is VTP, which seemed simple enough in your CCNA studies!  Part of learning the details is mastering the fundamentals, so in this tutorial we’ll review the basics of VTP. In show vtp status readouts, the "VTP Operating Mode" is set to "Server" by default.  The more familiar term for VTP Operating Mode is simply VTP Mode, and Server is the default.  It's through the usage of VTP modes that we can place limits on which switches can delete and create VLANs. In Server mode, a VTP switch can be used to create, modify, and delete VLANs.  This means that a VTP deployment has to have at least one switch in Server mode, or VLAN creation will not be possible.  Again, this i...

CCNA / CCNP Home Lab Tutorial: Assembling Your Cisco Home Lab

A CCNA or CCNP candidate who wants to be totally prepared for their exams is going to put together a home lab to practice on.  With used Cisco routers and switches more affordable and plentiful then ever before, there's really no excuse to not have one! With the many different models available, there is some understandable confusion among future CCNAs and CCNPs about which routers to buy and which ones to avoid.  You can take almost any set of Cisco routers and put together a home lab; part of the learning process is taking what equipment you have available and putting together your own lab!  For those of you preparing to start your home lab or add to your existing one, this article will list the routers I use in my Cisco pods.  You certainly don't have to have all this equipment, but this will give you some good ideas on how to get started. The most versatile router you can get for your CCNA / CCNP home lab is a 2520.  These routers come with four seri...