Cisco CCNP  BSCI Exam Tutorial:  Using The OSPF Command Area Range
Cisco CCNP BSCI Exam Tutorial: Using The OSPF Command Area Range

Your BSCI And CCNP Exam Success Depends On Knowing The Details, And One Such Detail Is Knowing The Proper Way To Summarize Routes In OSPF. Route Summarization Is Not Just A Test Of Your Binary Conversion Abilities, But Knowing Where And When To Summarize Routes. It Will Not Surprise Any CCNA Or CCNP Certification Candidate That OSPF Gives Us The Most Options For Route Summarization, And Therefore More Details To Know!OSPF Offers Us Two Options For Route Summarization Configurations. In A Previous Tutorial, We Looked At The "summary-address" Command, And Today We'll Look At The Proper Use Of The "area Range" Command.The "area Range" Command Should Be Used On An Area Border Router (ABR) To Summarize Routes Being Advertised From One OSPF Area To Another. In This Tutorial, R1 Is Acting As An ABR, With Interfaces In Both Area 0 And Area 1. Four Loopbacks Have Been Placed Into R1's Area 1.R1(config)router Ospf 1R1(config-router)network 12.0.0.0 0.255.255.255 A 1R1(config-router)network 13.0.0.0 0.255.255.255 A 1R1(config-router)network 14.0.0.0 0.255.255.255 A 1R1(config-router)network 15.0.0.0 0.255.255.255 A 1The Routing Table Of An OSPF Neighbor, R2, Shows All Four Routes.R2show Ip Route Ospf 12.0.0.032 Is Subnetted, 1 SubnetsO IA 12.12.12.12 11065 Via 172.12.123.1, 00:18:52, Serial0 13.0.0.032 Is Subnetted, 1 SubnetsO IA 13.13.13.13 11065 Via 172.12.123.1, 00:18:42, Serial0 14.0.0.032 Is Subnetted, 1 SubnetsO IA 14.14.14.14 11065 Via 172.12.123.1, 00:18:32, Serial0 15.0.0.032 Is Subnetted, 1 SubnetsO IA 15.15.15.15 11065 Via 172.12.123.1, 00:18:32, Serial0To Keep The Routing Tables Of Downstream Routers Smaller But Still Have The Desired IP Connectivity, We Can Use The Area Range Command On R1 To Summarize These Four Routes. The Key To Keep In Mind With The Area Range Command Is That The Area Number Given In The Command Is The Area Containing The Destinations, NOT The Area That Will Receive The Summary Route.R1(config)router Ospf 1R1(config-router)area 1 Range 12.0.0.0 252.0.0.0R2 Now Shows A Single Summary Route That Can Be Used To Reach All Four Remote Networks.R2show Ip Route OspfO IA 12.0.0.06 11065 Via 172.12.123.1, 00:00:21, Serial0Interestingly Enough, There's Now An Additional Route In R1's Routing Table.R1show Ip Route OspfO 12.0.0.06 Is A Summary, 00:07:53, Null0When You Configure Summary Routes In OSPF, A Route To Null0 Will Be Installed Into The OSPF Routing Table Of The Router Performing The Summarization. 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, And Packets That Do Not Match One Of The Summarized Routes But Do Match The Summary Route Will Be Dropped.