Ch 9: Advanced OSPF Flashcards

1
Q

T/F: A router with an interface associated with Area 1 and Area 2 will be able to inject routes learned from one area into another area.

A

False.

A router needs to have an interface in Area 0 so that it can be an ABR.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

T/F: A member router contains a complete copy of the LSDBs for every area in the routing domain.

A

False.

An OSPF router only contains copies of the LSDBs for the areas it participates in.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How many OSPF link-state announcement (LSA) types are used for routing traditional IPv4 packets?

a. Two
b. Three
c. Five
d. Six
e. Seven

A

D.

OSPF uses six OSPF LSA types for routing IPv4 packets (Types 1, 2, 3, 4, 5, and 7). Additional LSAs exist for IPv6 and MPLS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the LSA age field in the LSDB used for?

  1. For version control—to ensure that the most recent LSA is present
  2. To age out old LSAs by removing an LSA when its age reaches zero
  3. For troubleshooting—to identify exactly when the LSA was advertised
  4. To age out old LSAs by removing an LSA when it reaches 3600 seconds
A

4.

LSAs are deemed invalid when they reach 3600 seconds and are purged from the LSDB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which LSA type exists in all OSPF areas?

  • Type 1, Router LSA
  • Type 2, Network LSA
  • Type 3, Summary LSA
  • AS external
A

Type 1.

A router LSA (type 1) is associated with each OSPF-enabled interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

T/F: When an ABR receives a network LSA, the ABR forwards the network LSA to the other connected areas.

A

False.

Network LSAs (type 2) are not advertised outside the originating area. They are used with router LSAs (type 1) to build the summary LSA (type 3).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When a type 3 LSA is received in a nonbackbone area, what does the ABR do?

  1. Discards the type 3 LSA and does not process it
  2. Installs the type 3 LSA for only the area where it was received
  3. Advertises the type 3 LSA to the backbone area and displays an error
  4. Advertises the type 3 LSA to the backbone area
A

2.

Type 3 LSAs received from a nonbackbone area only insert into the LSDB for the source area. ABRs do not create type 3 LSAs for the other areas.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

T/F: OSPF uses the shortest total path metric to identify the best path for every internal OSPF route (intra-area and interarea).

A

False.

OSPF prefers intra-area routes over interarea routes as the first logic check. In the event that both paths use the same type, the total path metric is used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

T/F: Breaking a large OSPF topology into smaller OSPF areas can be considered a form of summarization.

A

True.

While the number of network prefixes might remain the same, the numbers of type 1 and type 2 LSAs are reduced.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How is the process of summarizing routes on an OSPF router accomplished?

  1. By using the interface configuration command summary-address network prefix-length
  2. By using the OSPF process configuration command summary-address network prefix-length
  3. By using the OSPF process configuration command area area-id range network subnet-mask
  4. By using the interface configuration command area area-id summary-address network subnet-mask
A

3.

OSPF summarization occurs at the area level and is configured under the OSPF process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

OSPF supports filtering of routes using which of the following techniques? (Choose two.)

  1. Summarization, using the no-advertise option
  2. LSA filtering, which prevents type 1 LSAs from being advertised through a member router
  3. Area filtering, which prevents type 1 LSAs from being generated into a type 3 LSA
  4. Injection of an OSPF discard route on the router that filtering should apply
A

1 and 3.

LSA filtering occurs on the ABR and can occur with summarization (using the no-advertise keyword) or with area filtering (preventing the Type 3 LSAs from entering into the new area).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

T/F: An An OSPF interface can belong to more than one area.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

T/F: All routers within the same OSPF area maintain an identical copy of the link-state database (LSDB).

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

T/F: The area ID is not included in the OSPF hello packet.

A

False. It is included with the Hello packet and required to form an adjacency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What happens in OSPF when a topology change occurs (such as a link flap or an additional network being added) within an area?

A

All routers in the same OSPF area calculate the SPF tree again. This takes time and a lot of CPU.

Routers outside that area do not calculate the full SPF tree again but perform a partial SPF calculation if the metrics have changed or a prefix is removed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

T/F: Routers that are connected to more than one area will automatically inject routes between areas.

A

False.

Just because a router connects to multiple OSPF areas does not mean the routes from one area will be injected into another area. Figure 9-1 shows router R1 connected to Area 1 and Area 2. Routes from Area 1 will not advertise into Area 2 and vice versa.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is Area 0?

A
  • Area 0 is a special area called the backbone.
  • By design, all areas must connect to Area 0 because OSPF expects all areas to inject routing information into the backbone.
  • Area 0 advertises the routes into other areas.
  • The backbone design is crucial to preventing routing loops.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is an ABR?

A

Area border routers (ABRs) are OSPF routers connected to Area 0 and another OSPF area, per Cisco definition and according to RFC 3509.

ABRs are responsible for advertising routes from one area and injecting them into a different OSPF area. Every ABR needs to participate in Area 0; otherwise, routes will not advertise into another area. ABRs compute an SPF tree for every area that they participate in.

Figure 9-2 shows that R1 is connected to Area 0, Area 1, and Area 2. R1 is a proper ABR because it now participates in Area 0. The following occurs on R1:

  • Routes from Area 1 advertise into Area 0.
  • Routes from Area 2 advertise into Area 0.
  • Routes from Area 0 advertise into Area 1 and 2. This includes the local Area 0 routes, in addition to the routes that were advertised into Area 0 from Area 1 and Area 2.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

T/F: ABRs compute an SPF tree for every area that they participate in.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Some questions on the Area ID…

  • How many bits is the Area ID in OSPF?
  • How is it formatted?
  • Can the different definition formats form adjacencies?
  • In what format is the Area ID advertised in Hello packets?
A

The area ID is a 32-bit field and can be formatted in simple decimal (0 through 4,294,967,295) or dotted decimal (0.0.0.0 through 255.255.255.255).

During router configuration, the area can use decimal format on one router and dotted-decimal format on a different router, and the routers can still form an adjacency. OSPF advertises the area ID in dotted-decimal format in the OSPF hello packet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is an ‘intra-area route’?

A

Network routes that are learned from other OSPF routers within the same area are known as intra-area routes.

In Figure 9-3, the network link between R2 and R4 (10.24.1.0/29) is an intra-area route to R1. The IP routing table displays OSPF intra-area routes with an O.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is an interarea route?

A

Network routes that are learned from other OSPF routers from a different area using an ABR are known as interarea routes. In Figure 9-3, the network link between R4 and R5 (10.45.1.0/24) is an interarea route to R1. The IP routing table displays OSPF interarea routers with O IA.

Example 9-3 provides the routing table for R1 from Figure 9-3. Notice that R1’s OSPF routing table shows routes from within Area 1234 as intra-area (O routes) and routes from Area 0 and Area 56 as interarea (O IA routes).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

T/F: Crossing a slow serial link will cause the route metric to increase dramatically.

A

This is true. Routes that must cross a slow serial link, which have an interface cost of 64, are must less desirable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

How are routes from outside the OSPF domain injected into the OSPF domain?

A

External routes are routes learned from outside the OSPF domain but injected into an OSPF domain through redistribution.

External OSPF routes can come from a different OSPF domain or from a different routing protocol.

External OSPF routes are beyond the scope of the CCNP and CCIE Enterprise Core ENCOR 350-401 exam and are not covered in this book.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

When OSPF neighbors become adjacent, the LSDBs synchronize between the OSPF routers. What type of packet does OSPF use for this and where are they sent?

A

When OSPF neighbors become adjacent, the LSDBs synchronize between the OSPF routers. As an OSPF router adds or removes a directly connected network link to or from its database, the router floods the link-state advertisement (LSA) out all active OSPF interfaces. The OSPF LSA contains a complete list of networks advertised from that router.

26
Q

How many types of LSAs are there? What are they?

A

OSPF uses six LSA types for IPv4 routing:

  1. Router LSA: Advertises the LSAs that originate within an area
  2. Network LSA: Advertises a multi-access network segment attached to a DR
  3. Summary LSA: Advertises network prefixes that originated from a different area
  4. ASBR summary LSA: Advertises a summary LSA for a specific ASBR
  5. AS external LSA: Advertises LSAs for routes that have been redistributed
  6. There is no type 6. (weird but true. no one speaks of #6.)
  7. NSSA external LSA: Advertises redistributed routes in NSSAs

LSA types 1, 2, and 3, which are used for building the SPF tree for intra-area and interarea routes

27
Q

What is an LSA sequence number and what is its purpose?

A

OSPF uses the sequence number to overcome problems caused by delays in LSA propagation in a network. The LSA sequence number is a 32-bit number for controlling versioning.

When the originating router sends out LSAs, the LSA sequence number is incremented. If a router receives an LSA sequence that is greater than the one in the LSDB, it processes the LSA. If the LSA sequence number is lower than the one in the LSDB, the router deems the LSA old and discards the LSA.

28
Q

What is LSA age?

A

Every OSPF LSA includes an age that is entered into the local LSDB and that will increment by 1 every second. When a router’s OSPF LSA age exceeds 1800 seconds (30 minutes) for its networks, the originating router advertises a new LSA with the LSA age set to 0.

As each router forwards the LSA, the LSA age is incremented with a calculated (minimal) delay that reflects the link. If the LSA age reaches 3600, the LSA is deemed invalid and is purged from the LSDB. The repetitive flooding of LSAs is a secondary safety mechanism to ensure that all routers maintain a consistent LSDB within an area.

29
Q

T/F: All routers within an OSPF area have an identical set of LSAs for that area and ABRs maintain an identical set of LSAs for each OSPF area.

A

T and F:

All routers within an OSPF area have an identical set of LSAs for that area. The ABRs maintain a separate set of LSAs for each OSPF area.

Most LSAs in one area will be different from the LSAs in another area. Generic router LSA output is shown with the command show ip ospf database.

30
Q

T/F: ASBRs advertise type 1 LSAs so that the DROTHER routers can build their LSDBs. DROTHER routers only receive LSAs.

A

Every OSPF router advertises a type 1 LSA.

Type 1 LSAs are the essential building blocks within the LSDB. A type 1 LSA entry exists for each OSPF-enabled link (that is, every interface and its attached networks). Figure 9-5 shows that in this example, the type 1 LSAs are not advertised outside Area 1234, which means the underlying topology in an area is invisible to other areas.

NOTE: Type 1 LSAs for an area are shown with the command show ip ospf database router.

31
Q

What is a Type 2 LSA and what does it represent?

A

A type 2 LSA, or Network LSA, represents a multi-access network segment that uses a DR.

The DR always advertises the type 2 LSA and identifies all the routers attached to that network segment. If a DR has not been elected, a type 2 LSA is not present in the LSDB because the corresponding type 1 transit link type LSA is a stub.

Like type 1 LSAs, Type 2 LSAs are not flooded outside the originating OSPF area.

32
Q

Do stub networks have Type 2 LSAs? Why or why not?

A

No, there is no DR on a Pt-Pt or Stub network. Type 2 LSAs only exist on multiaccess segments with a DR.

If a DR has not been elected, a type 2 LSA is not present in the LSDB because the corresponding type 1 transit link type LSA is a stub.

33
Q

Examine the diagram. How many DR segments are there in Area 1234?

A

Area 1234 has only one DR segment that connects R1, R2, and R3 because R3 has not formed an OSPF adjacency on the 10.3.3.0/24 network segment. On the 10.123.1.0/24 network segment, R3 is elected as the DR, and R2 is elected as the BDR because of the order of the RIDs.

NOTE: Detailed type 2 LSA information is shown with the command show ip ospf database network.

Now that we have the type 2 LSA for Area 1234, all the network links are connected. Figure 9-8 provides a visualization of the type 1 and type 2 LSAs, which correspond with Area 1234 perfectly.

NOTE: When the DR changes for a network segment, a new type 2 LSA is created, causing SPF to run again within the OSPF area.

34
Q

What are Type 3 LSAs and what is their role?

A

Type 3 LSAs represent networks from other areas. The role of the ABRs is to participate in multiple OSPF areas and ensure that the networks associated with type 1 LSAs are reachable in the non-originating OSPF areas.

As explained earlier, ABRs do not forward type 1 or type 2 LSAs into other areas. When an ABR receives a type 1 LSA, it creates a type 3 LSA referencing the network in the original type 1 LSA; the type 2 LSA is used to determine the network mask of the multi-access network. The ABR then advertises the type 3 LSA into other areas. If an ABR receives a type 3 LSA from Area 0 (the backbone), it regenerates a new type 3 LSA for the nonbackbone area and lists itself as the advertising router, with the additional cost metric.

35
Q

What is the difference between an ABR and and ASBR?

A

ABR, Area Border Router, is a router used to establish a connection between backbone area and other OSPF areas. Produces Type3 and type 4 LSAs, Summary LSAs.

ASBR, Autonomous System Border Router, is an ABR that is connected to other OSPF areas, as well as other routing protocols such as IGRP, EIGRP, IS-IS, RIP, BGP, Static. Produces Type 3 and Type 4 Summary LSAs as well as Type 5 External LSAs from routes redistributed from other routing protocols.

36
Q

What is the command to show detailed Type 3 (Summary) LSA information?

A

Detailed type 3 LSA information is shown with the command show ip ospf database summary. The output can be restricted to a specific LSA by appending the network prefix to the end of the command.

37
Q

T/F: The advertising router for type 3 LSAs is the first ABR that advertises the prefix.

A

False.

The advertising router for type 3 LSAs is the last ABR that advertises the prefix.

The metric within the type 3 LSA uses the following logic:

  • If the type 3 LSA is created from a type 1 LSA, it is the total path metric to reach the originating router in the type 1 LSA.
  • If the type 3 LSA is created from a type 3 LSA from Area 0, it is the total path metric to the ABR plus the metric in the original type 3 LSA.

For example, from Figure 9-9, as R2 advertises the 10.123.1.0/24 network, the following happens:

  1. R4 receives R2’s type 1 LSA and creates a new type 3 LSA by using the metric 65: The cost of 1 for R2’s LAN interface and 64 for the serial link between R2 and R4.
  2. R4 advertises the type 3 LSA with the metric 65 into Area 0.
  3. R5 receives the type 3 LSA and creates a new type 3 LSA for Area 56, using the metric 66: The cost of 1 for the link between R4 and R5 plus the original type 3 LSA metric 65.
  4. R6 receives the type 3 LSA. Part of R6’s calculation is the metric to reach the ABR (R5), which is 1 plus the metric in the type 3 LSA (66). R6 therefore calculates the met- ric 67 to reach 10.123.1.0/24.
38
Q

The type 3 LSA contains which of the following:

  1. the link-state ID (network number)
  2. the subnet mask
  3. the IP address of the advertising ABR
  4. external routes that have been redistributed into the ABR
  5. the metric for the network prefix.
A

The type 3 LSA contains:

  1. the link-state ID (network number)
  2. the subnet mask
  3. the IP address of the advertising ABR
  4. the metric for the network prefix.

External routes are injected into an OSPF area by the ASBR and are included in type 5 LSA Summary.

Figure 9-10 provides R4’s perspective of the type 3 LSA created by ABR (R5) for the 10.56.1.0/24 network. R4 does not know if the 10.56.1.0/24 network is directly attached to the ABR (R5) or multiple hops away. R4 knows that its metric to the ABR (R5) is 1 and that the type 3 LSA already has a metric of 1, so its total path metric to reach the 10.56.1.0/24 network is 2.

39
Q

What is the metric from R3’s perspective to reach the network 10.56.1.0/24?

A

Figure 9-11 provides R3’s perspective of the type 3 LSA created by ABR (R4) for the 10.56.1.0/24 network. R3 does not know if the 10.56.1.0/24 network is directly attached to the ABR (R4) or multiple hops away. R3 knows that its metric to the ABR (R4) is 65 and that the type 3 LSA already has a metric of 2, so its total path metric to reach the 10.56.1.0/24 network is 67.

40
Q

T/F: An ABR will advertise multiple paths for a prefix with Type 3 LSA to enable load balancing to occur across multiple links.

A

False.

An ABR advertises only one type 3 LSA for a prefix, even if it is aware of multiple paths from within its area (type 1 LSAs) or from outside its area (type 3 LSAs). The metric for the best path will be used when the LSA is advertised into a different area.

41
Q

See attached diargram. What will the metric be for the route to network 10.34.1.0/24 learned by R1? How does the route reach R1, starting at the origin at R4.

A

There is no route for 10.34.1.0/24 on R1.

At first glance, it looks like routes in the routing tables on R2 and R3 in Figure 9-13 are being advertised across area 23. The 10.34.1.0/24 network was advertised into OSPF by R3 and R4 as a type 1 LSA. R3 is an ABR and converts Area 34’s 10.34.1.0/24 type 1 LSA into a type 3 LSA in Area 0. R3 uses the type 3 LSA from Area 0 to generate the type 3 LSA for Area 23. R2 is able to install the type 3 LSA from Area 23 into its routing table.

Most people would assume that the 10.34.1.0/24 route learned by Area 23 would then advertise into R2’s Area 0 and then propagate to Area 12. However, they would be wrong. There are three fundamental rules ABRs use the for creating type 3 LSAs:

  1. Type 1 LSAs received from an area create type 3 LSAs into the backbone area and nonbackbone areas.
  2. Type 3 LSAs received from Area 0 are created for the nonbackbone area.
  3. Type 3 LSAs received from a nonbackbone area only insert into the LSDB for the source area. ABRs do not create a type 3 LSA for the other areas (including a segmented Area 0).
42
Q

T/F: OSPF executes Dijkstra’s shortest path first (SPF) algorithm to create a loop-free topology of shortest paths and all routers use the same logic to calculate the shortest path for each network.

A

True.

43
Q

T/F: Routes advertised via a type 1 LSA for an area are always preferred over type 3 LSAs.

A

True.

Path selection prioritizes paths by using the following logic:

  1. Intra-area
  2. Interarea
  3. External routes (which involves additional logic not covered in this book)
44
Q

What happens if there is a tie in metric for two intra-area routes in OSPF?

A

If multiple intra-area routes exist, the path with the lowest total path metric is installed in the OSPF Routing Information Base (RIB), which is then presented to the router’s global RIB. If there is a tie in metric, both routes install into the OSPF RIB.

45
Q

See attached diagram. Which route will R1 choose to reach 10.4.4.0/24?

A

In Figure 9-14, R1 is computing the route to 10.4.4.0/24.

Instead of taking the faster Ethernet connection (R1–R2–R4), R1 takes the path across the slower serial link (R1–R3–R4) to R4 because that is the intra-area path. Intra-area paths are always preferred over interarea paths.

Example 9-6 shows R1’s routing table entry for the 10.4.4.0/24 network. Notice that the metric is 111 and that the intra-area path was selected over the interarea path with the lower total path metric.

46
Q

See attached diagram. What path will be selected by R1 to reach R6?

A

The next priority after intra-area routes for selecting a path to a network is selection of the path with the lowest total path metric to the destination. If there is a tie in metric, both routes install into the OSPF RIB. All interarea paths for a route must go through Area 0 to be considered.

In Figure 9-15, R1 is computing the path to R6. R1 uses the path R1–R3–R5–R6 because its total path metric is 35 versus the R1–R2–R4–R6 path, with a metric of 40.

47
Q

What is ECMP in OSPF?

A

If OSPF identifies multiple paths in the path selection algorithms, those routes are installed into the routing table as equal-cost multipathing (ECMP) routes. The default maximum number of ECMP paths is four paths. The default ECMP setting can be overwritten with the command maximum-paths maximum-paths under the OSPF process to modify the default setting.

48
Q

Name two ways to shrink the LSDB database size.

A
  1. Splitting up an OSPF routing domain into multiple areas reduces the size of the LSDB for each area.
  2. Another method of shrinking the LSDB involves summarizing network prefixes.
49
Q

T/F: If you have an OSPFv2 area with 1000 routers in it and a single link fails then all routers in the Area have to run the SPF algorithm to recalculate the LSDB?

A

True.

For this reason the number of routers per area is limited. Also, the slowest router has to be able to handle the LSDB for each area.

This issue has been resolved with OSPFv3.

50
Q

What is Interarea Summarization? What does it reduce specifically?

A

Interarea summarization reduces the number of type 3 LSAs that an ABR advertises into an area (typically the backbone area) when it receives type 1 LSAs. The network summarization range is associated with a specific source area for type 1 LSAs.

When a type 1 LSA within the summarization range reaches the ABR from the source area, the ABR creates a type 3 LSA for the summarized network range. The ABR suppresses the more specific type 3 LSAs, thereby preventing the generation of the subordinate route’s type 3 LSAs. Interarea summarization does not impact the type 1 LSAs in the source area.

Figure 9-19 shows 15 type 1 LSAs (172.16.1.0/24 through 172.16.15.0/24) being summarized into one type 3 LSA (the 172.16.0.0/20 network).

51
Q

T/F: The default metric for a Type 3 LSA is the highest of the two metrics from the Type 1&2 LSAs used to compose the Type 3 LSA.

A

False.

The default metric for the summary LSA is the smallest metric associated with an LSA, ; however, it can be set as part of the configuration.

In Figure 9-20, R1 summarizes three prefixes with various path costs. The 172.16.3.0/24 prefix has the lowest metric, so that metric is used for the summarized route.

52
Q

What is the command to define the summarization range and area in OSPF?

A

To define the summarization range and associated area, use the OSPF command:

  • area area-id range network subnet-mask [advertise | not-advertise] [cost cost metric] under the OSPF process on the ABR.

The default behavior is to advertise the summary prefix, so the keyword advertise is not necessary. Appending the cost metric keyword to the command statically sets the metric on the summary route.

53
Q

What is the command to add a static cost of 45 to a summary route?

A

area 12 range 172.16.0.0 255.255.0.0 cost 45

A static cost of 45 could be added to the summary route to reduce CPU load if any of the summarized networks flap, for example.

54
Q

How does an ABR prevent routing loops where portions of the summarized network range do not have a more specific route in the RIB?

A

The ABR performing interarea summarization installs a discard route—that is, a route to the Null0 interface that matches the summarized network range.

Discard routes prevent routing loops where portions of the summarized network range do not have a more specific route in the RIB. The AD for the OSPF summary discard route for internal networks is 110, and it is 254 for external networks.

Example 9-10 shows the discard route on R2 for the 172.16.0.0/16 prefix.

55
Q

Considering that every router in an OSPF area has a complete picture of the network in it’s LSDB, where does route filtering occur?

A

Route filtering is a method for selectively identifying routes that are advertised or received from neighbor routers. Route filtering may be used to manipulate traffic flows, reduce memory utilization, or improve security.

Filtering of routes with vector-based routing protocols is straightforward as the routes are filtered as routing updates are advertised to downstream neighbors. However, with link-state routing protocols such as OSPF, every router in an area shares a complete copy of the link-state database. Therefore, filtering of routes generally occurs as routes enter the area on the ABR.

56
Q

In OSPF what is ‘filtering with summarization’? How does it work?

A

One of the easiest methodologies for filtering routes is to use the not-advertise keyword during prefix summarization. Using this keyword prevents creation of any type 3 LSAs for any networks in that range, thus making the subordinate routes visible only within the area where the route originates.

The full command structure is:

  • area area-id range network subnet-mask not-advertise under the OSPF process.
57
Q

See attached diagram, where R1 is advertising the 172.16.1.0/24, 172.16.2.0/24, and 172.16.3.0/24 networks. What is the command to filter out the 172.16.2.0/24 network?

A

area 12 range 172.16.2.0 255.255.255.0 not-advertise

This command prevents creation of any type 3 LSAs for the network 172.16.2.0/24, thus making the subordinate routes visible only within the area where the route originates.

See attached diagram for context.

58
Q

Examine the attached diagram, Fig 9-22. The 172.16.1.0/24 network needs to be present in Area 0 but removed in Area 34. How can you use route filtering via summarization to remove that route?

A

The short answer is that you cannot do it with summarization filtering.

Although filtering via summarization is very easy, it is limited in its ability. For example, in Figure 9-22, if the 172.16.1.0/24 network needs to be present in Area 0 but removed in Area 34, it is not possible to filter the route using summarization.

59
Q

T/F: ABRs can filter routes as they advertise out of an area or into an area.

A

True.

ABRs can filter routes as they advertise out of an area or into an area. This is called area filtering.

60
Q

What is the command to apply area filtering on an ABR?

A

OSPF area filtering is accomplished by using the command area area-id filter-list prefix prefix-list-name {in | out} on the ABR.

61
Q

What is Local OSPF Filtering?

A

In some scenarios, routes need to be removed only on specific routers in an area. OSPF is a link-state protocol that requires all routers in the same area to maintain an identical copy of the LSDB for that area. A route can exist in the OSPF LSDB, but it could be prevented from being installed in the local RIB. This is accomplished by using a Distribute List. Figure 9-25 illustrates this concept.

A distribute list on an ABR does not prevent type 1 LSAs from becoming type 3 LSAs in a different area because the type 3 LSA generation occurs before the distribute list is processed.

However, a distribute list on an ABR prevents type 3 LSAs coming from the backbone from being regenerated into nonbackbone areas because this regeneration process happens after the distribute list is processed. A distribute list should not be used for filtering of prefixes between areas; the following section identifies more preferred techniques.

62
Q

What is the command to filter routes with OSPF using a distribute list?

A

A distribute list is configured under the OSPF process with the command

  • distribute-list {acl-number | acl-name | prefix prefix-list-name | route-map route-map-name} in.

To demonstrate this concept, the topology from Figure 9-24 is used again. Say that R1 is advertising the 172.16.1.0/24, 172.16.2.0/24, and 172.16.3.0/24 network prefixes. R2 filters the 172.16.3.0/24 network from entering its RIB. The configuration is provided in Example 9-15.