Chapter 7. Using OSPF Across Multiple Areas

This chapter covers the following topics:

  • The Purpose of Multi-area OSPF—Explains OSPF multiple-area networks and the single area network issues they solve.

  • The Features of Multi-area OSPF—Describes router types, link-state advertisements, and the different types of areas.

  • The Operation of Multi-area OSPF—Explains LSA propagation, OSPF path selection between areas, and how OSPF calculates the costs of paths to other areas.

  • Design Considerations in Multi-area OSPF—Describes capacity planning, summarization, and the use of virtual links in multi-area OSPF.

  • Required Configuration Commands for a Multi-area OSPF Network—Describes configuring OSPF as the routing protocol and explains the network command in the context of OSPF.

  • Optional Configuration Commands for a Multi-area OSPF Network—Describes commands that ensure the multi-area OSPF network runs efficiently.

  • Working Configuration of Multi-area OSPF—Combines the concepts and commands described in the chapter to show an entire working configuration.

  • Verifying the Configuration of OSPF in a Multi-area Network—Covers the commands used to verify the configuration and monitor the network.

  • Troubleshooting a Multi-area OSPF Network—Covers the log-adjacency-changes command, the most useful debug commands, and common problems that occur in forming adjacencies.

This chapter discusses using OSPF in large networks—networks large enough to be broken up into multiple smaller areas for routing purposes. In order to design a multi-area OSPF network, you need a comprehensive grasp of the features of multi-area OSPF, the operation of OSPF across multiple areas, and, of course, the design considerations of such a network. This chapter discusses each of these topics.

The purpose of the "Do I Know This Already?" quiz is to help you decide what parts of this chapter to use. If you already intend to read the entire chapter, you do not necessarily need to answer these questions now.

The 23-question quiz, derived from the major sections in the "Foundation Topics" portion of the chapter, helps you determine how to spend your limited study time.

Table 7-1 outlines the major topics discussed in this chapter and the "Do I Know This Already?" quiz questions that correspond to those topics.

Table 7-1. "Do I Know This Already?" Foundation Topics Section-to-Question Mapping
Foundation Topics SectionQuestions Covered in This SectionScore
The Purpose of Multi-area OSPF1 
The Features of Multi-area OSPF2–6 
The Operation of Multi-area OSPF7 
Design Considerations in Multi-area OSPF8–11 
Required Configuration Commands for a Multi-area OSPF Network12–14 
Optional Configuration Commands for a Multi-area OSPF Network15–18 
Working Configuration of OSPF in a Multi-area Network19 
Verifying the Configuration of OSPF in a Multi-area Network20–22 
Troubleshooting a Multi-area OSPF Network23 
Total Score  

Caution

The goal of self-assessment is to gauge your mastery of the topics in this chapter. If you do not know the answer to a question or are only partially sure of the answer, you should mark this question wrong for purposes of the self-assessment. Giving yourself credit for an answer you correctly guess skews your self-assessment results and might provide you with a false sense of security.


1.What is the command to view CPU utilization?
  1. show memory free

  2. show cpu utilization

  3. show processes cpu sorted

  4. show processor

2.What is an internal router?
  1. An OSPF process running on a multilayer switch.

  2. The internal router is responsible for managing multiple OSPF processes.

  3. All interfaces on this router are within the same area.

  4. A router running OSPF with no external processes.

3.What is the purpose of an ABR?
  1. A router responsible for connecting to outside the autonomous system

  2. A router responsible for connecting two or more areas

  3. A logical group of nodes forming a backbone that connects other areas

  4. A group of routers running OSPF with no external links

4.What do the initials ASBR represent?
  1. Autonomous System Border Router

  2. Authority Subnet Boundary Router

  3. Automatic Summarization Boundary Router

  4. Autonomous System Boundary Router

5.How is routing information generated within an area propagated throughout the area?
  1. Type 3 and Type 4 LSAs

  2. In the summary LSA sent out every 30 minutes

  3. In the Hello packet between neighbors

  4. Type 1 and Type 2 LSAs

6.Which of the following OSPF characteristics affect how the routing table is created?
  1. Whether there are multiple areas in the domain

  2. Whether MD-5 security has been configured

  3. The role of the router in the area in which the router is located

  4. Whether there are communications outside the autonomous system

  5. Network link LSA

7.Which two LSA types are propagated within an area?
  1. Router

  2. Type 3

  3. Type 4

  4. Type 5

  5. Network

8.Why does the frequency of the SPF algorithm increase with the size of the area?
  1. Each router will have more neighbors, and synchronizing the databases takes priority.

  2. The topology databases will subdivide after a certain size, requiring multiple SPF calculations.

  3. As the area size increases, each recalculation will also take longer, which might result in errors, requiring the algorithm to rerun.

  4. The larger the network, the greater the probability of a network change and, thus, a recalculation of the entire area.

9.Multiple areas are one of the main features of OSPF. Which of the following statements explains why this feature is such an important enhancement to earlier routing protocols?
  1. It is easier to implement security.

  2. All computation is kept within the area, with minimum communication between the areas, allowing the network to scale to larger sizes.

  3. The network domain, when divided into areas, allows for the use of both IANA classful addressing and private addressing.

  4. The use of multiple areas allows for the use of prioritization.

10.Which is the best design for OSPF?
  1. Hierarchical with summarization

  2. Tiered

  3. Flat with summarization

  4. Elliptical

11.Which of the following must be observed when creating a virtual link?
  1. Both routers must share a common area.

  2. Both routers must share the same subnet address.

  3. One of the routers must be connected to Area 0.

  4. Both routers must share the same process ID.

12.What command is used to start an OSPF process?
  1. Router(config)# router ospf process-id

  2. Router(config)# router ospf router-ID

  3. Router(config)# router ospf autonomous-system-number

  4. Router(config-if)# router ospf process-id

13.Which of the following commands are the correct commands, in conjunction, for placing an interface with IP address 172.16.20.128 in area 1 and the interfaces associated with the 172.16.0.0 class B network in Area 0?
  1. network 172.16.20.128 0.0.0.0 area 1

  2. network 0.0.0.0 255.255.255.255 area 0

  3. network 172.16.20.128 0.0.0.255 area 1

  4. network 172.16.0.0 0.0.255.255 area 0

  5. network 172.16.20.128 0.0.0.0 area 1

  6. network 172.16.20.0 255.255.255.255 area 0

  7. network 172.16.20.128 0.0.0.7 area 1

  8. network 172.16.20.0 255.255.255.255 area 0

14.Which of the following statements about placing subnets into different areas are true?
  1. The network command used to assign interfaces and subnets to different areas can be configured on any OSPF router.

  2. The network command is used at the interface level to assign interfaces and their subnets into different areas.

  3. The network command uses the subnet mask to identify the portion of the address to consider in assigning areas.

  4. The network command uses a wildcard mask to identify the portion of the address to consider in assigning areas.

15.Which of the following statements are true of the command summary-address 172.16.20.0 255.255.255.0?
  1. This command would be configured on an ASBR.

  2. This command is used to summarize routes between areas.

  3. This command is used to summarize addresses advertised to the outside world.

  4. This command is configured on ABR routers.

16.Which command would be used on an ABR to configure the cost of a default route propagated into a stub or NSSA area?
  1. default-cost 30

  2. area 1 default-cost 30

  3. ip ospf default cost 30

  4. ip ospf area 1 default-cost 30

17.What is the purpose of the command area 3 stub no-summary?
  1. To create area 3 as a totally stubby area

  2. To create area 3 as a stub area

  3. To create area 3 as an NSSA area

  4. To filter summaries passing between areas

18.Which of the following commands shows the correct syntax for defining a virtual link?
  1. area 1 virtual-link 10.10.10.10

  2. ip ospf area 1 virtual-link 10.10.10.10

  3. ip ospf virtual-link area 1

  4. area 1 virtual-link 10.10.10.0 255.255.255.0 172.16.20.131 255.255.255.0

19.In the following configuration, which areas will have default routes automatically propagated to the routers in the respective areas?
RouterA(config)# router ospf 100
RouterA(config-router)# network 140.100.17.128 0.0.0.15 area 3
RouterA(config-router)# network 140.100.17.192 0.0.0.15 area 2
RouterA(config-router)# network 140.100.32.0 0.0.0.255 area 0
RouterA(config-router)# area 2 stub
RouterA(config-router)# area 3 stub no-summary
RouterA(config-router)# area 3 default-cost 15

  1. Area 2

  2. Area 3

  3. Neither area

  4. Both areas

20.Which command is used to show the OSPF ABRs and ASBRs for which the internal router has entries in its routing table?
  1. show ip ospf external routers

  2. show ip ospf route

  3. show ip ospf border database

  4. show ip ospf border-routers

21.Which of the following is the correct command to show virtual links?
  1. show virtual-links

  2. show ip ospf virtual-links

  3. show ip ospf links

  4. show ip ospf neighbors

22.Which of the following are shown in the show ip ospf database command?
  1. Router ID number

  2. Hello timer intervals

  3. Advertising router ID

  4. Number of interfaces detected for the router

23.Which of the following events are shown in the debug ip ospf events command?
  1. Adjacencies

  2. Designated router selection

  3. Virtual links

  4. SPF calculations

The answers to this quiz are found in Appendix A, "Answers to Chapter 'Do I Know This Already?' Quizzes and Q&A Sections." The suggested choices for your next step are as follows:

  • 13 or less overall score—Read the entire chapter. This includes the "Foundation Topics" and "Foundation Summary" sections, the "Q&A" section, and the "Scenarios" at the end of the chapter.

  • 16–19 overall score—Begin with the "Foundation Summary" section, and then go to the "Q&A" section and the "Scenarios" at the end of the chapter. If you have trouble with these exercises, read the appropriate sections in "Foundation Topics."

  • 20–23 overall score—If you want more review on these topics, skip to the "Foundation Summary" section, and then go to the "Q&A" section and the "Scenarios" at the end of the chapter. Otherwise, move to the next chapter.