Ch 9 - Advanced OSPF Concepts Flashcards
Router R1, an internal router in area 1, displays the following output. The only two ABRs connected to area 1 are performing Type 3 LSA filtering. Which of the following answers is true based on the information in the output from R1?
R1# show ip route 10.1.0.0 255.255.0.0 longer-prefixes ! Legend lines omitted for brevity
O
O IA O IA
a. b. c. d.
10.0.0.0/8 is variably subnetted, 17 subnets, 3 masks
10.1.2.0/24 [110/658] via 10.10.13.1, 00:00:32, Serial0/0/0.1
10.1.1.0/24 [110/658] via 10.10.23.2, 00:41:39, Serial0/0/0.2
10.1.3.0/24 [110/658] via 10.10.23.2, 00:41:39, Serial0/0/0.2
A Type 3 LSA for 10.2.2.0/24 was filtered by both ABRs.
A Type 3 LSA for 10.1.2.0/24 was not filtered by both ABRs.
A Type 3 LSA for 10.1.3.0/24 was not filtered by at least one ABR. A Type 3 LSA for 10.1.1.0/24 was filtered by both ABRs.
C. The output lists all of B1’s routes for subnets within the range 10.1.0.0– 10.1.255.255 whose prefix lengths are longer than /16. One answer lists subnet 10.2.2.0/24, which is not in this range, so the output cannot be used to confirm
or deny whether the subnet was filtered. B1’s route for 10.1.2.0/24 is an intra-area route by virtue of not listing an inter-area (IA) code by the route. Type 3 LSA filtering only filters Type 3 LSAs, which routers use to calculate inter-area routes, so the output tells us nothing about any filtering of 10.1.2.0/24. The output shows a single inter-area route for 10.1.3.0/24, so at least one ABR has flooded a Type 3 LSA for this route. Additionally, the output confirms that at least one ABR flooded a Type 3 LSA for 10.1.3.0/24, or the output would not show an IA route for 10.1.3.0/24. So, the Type 3 LSA for 10.1.3.0/24 was not filtered by both ABRs.
The following command output was gathered from Router R1, an ABR between area 0 (backbone) and area 1. In this internetwork, area 0 contains all the subnets of Class A network 10.0.0.0. R1’s OSPF process has a distribute list configured. Assuming that the subnets listed in the answers actually exist in area 0, which of the following occurs on Router R1?
R1# sh ip prefix-list
ip prefix-list question: 3 entries
seq 5 deny 10.1.2.0/24 ge 25 le 27
seq 15 deny 10.2.0.0/16 ge 30 le 30
seq 20 permit 0.0.0.0/0 le 32
a. R1 will not create/flood a Type 3 LSA for subnet 10.1.2.0/26 into area 1.
b. R1 will not create/flood a Type 3 LSA for subnet 10.1.2.0/24 into area 1.
c. R1 will not have an OSPF route for subnet 10.1.2.0/26 in its IP routing table.
d. R1 will not have an OSPF route for subnet 10.1.2.0/24 in its IP routing table.
C. When referenced from a distribute list, OSPF filters routes from being added to that router’s IP routing table but has no impact on the flow of LSAs. As such, neither A nor B is correct. An OSPF distribute-list command does attempt to filter routes from being added to the IP routing table by OSPF, so the two answers that mention the IP routing table might be correct. Sequence number 5 matches prefixes from 10.1.2.0 through 10.1.2.255, with prefix lengths in the range 25–27, and denies (filters) those prefixes. So, the prefix list will match 10.1.2.0/26 with the first line, with a deny action. The 10.1.2.0/24 subnet does not match the first line of the prefix list, but it does match the third line, the match all line, with a permit action. Because 10.1.2.0/26 is matched by a deny clause, this route is indeed filtered, so it is not added to R1’s IP routing table. 10.1.2.0/24, matched with a permit clause, is allowed and would be in the IP routing table.
Use the same scenario as the previous question, with one change. Instead of the distribute list configured on R1, R1’s OSPF process has an area 1 filter list configured. Again assuming that the subnets listed in the answers actually exist in area 0, which of the following occurs on Router R1?
R1# sh ip prefix-list
ip prefix-list question: 3 entries
a. b. c. d.
seq 5 deny 10.1.2.0/24 ge 25 le 27
seq 15 deny 10.2.0.0/16 ge 30 le 30
seq 20 permit 0.0.0.0/0 le 32
R1 will not create/flood a Type 3 LSA for subnet 10.1.2.0/26 into area 1.
R1 will not create/flood a Type 3 LSA for subnet 10.1.2.0/24 into area 1.
R1 will not have an OSPF route for subnet 10.1.2.0/26 in its IP routing table. R1 will not have an OSPF route for subnet 10.1.2.0/24 in its IP routing table.
A. When referenced from an area filter-list command, OSPF filters Type 3 LSAs created on that router, preventing them from being flooded into area 1 (per the configuration command). As an ABR, R1 would calculate intra-area routes to these area 0 subnets, so this filtering will have no effect on R1’s routes. Sequence number
5 matches prefixes from 10.1.2.0 through 10.1.2.255, with prefix lengths in the range 25–27, and denies (filters) those prefixes. So, the prefix list will match 10.1.2.0/26 with the first line, with a deny action. The 10.1.2.0/24 subnet does not match the first line of the prefix list, because the prefix length does not match. However, it does match the third line, the match all line, with a permit action. By matching subnet 10.1.2.0/26 with a deny action, the filter list does prevent R1 from flooding a Type 3 LSA for that subnet. By matching 10.1.2.0/24 with a permit action, R1 does not filter the Type 3 LSA for that subnet.
R1, an ABR between backbone area 0 and area 1, has intra-area routes in area 0 for 10.1.1.0/24, 10.1.2.0/24, and 10.1.3.0/24. These routes have metrics of 21, 22, and 23, respectively. An engineer then adds the area 0 range 10.1.0.0 255.255.0.0 command under the OSPF process of R1. Which of the following are true? (Choose two.)
a. R1 loses and then reestablishes neighborships with all neighbors.
b. R1 no longer advertises 10.1.1.0/24 to neighbors into area 1.
c. R1 advertises a 10.1.0.0/16 route into area 1 with a metric of 23 (largest metric).
d. R1 advertises a 10.1.0.0/16 route into area 1 with a metric of 21 (lowest metric).
B and D. The area range command does not cause a failure in neighborships. Because at least one intra-area subordinate subnet of 10.1.0.0/16 exists in R1, R1 both creates a summary route for 10.1.0.0/16 and stops advertising LSAs for the (three) subordinate subnets. By default, the metric of the summary is the metric of the lowest-metric component subnet.
The following output exists on Router R1, a router internal to area 1. What can you determine as true from the output of the show ip ospf database summary command?
Routing Bit Set on this LSA
LS age: 124
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links (Network)
Link State ID: 10.1.0.0 (summary Network Number)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0x878F
Length: 28
Network Mask: /22
TOS: 0 Metric: 11
a. The LSA was created by an ABR because of an area range command.
b. The LSA was created by an ASBR because of a summary-address command.
c. If created by an area range command, the best metric for a subordinate subnet on that ABR must have been 11.
d. None of the other answers are correct.
D. The show ip ospf database summary command lists only Type 3 LSAs. The summary-address command creates Type 5 LSAs on ASBRs, ruling out one answer. The output does not specify whether the LSA was created as a summary route; all references to the word “summary” refer to Type 3 Summary LSAs. If created by an area range command, the metric defaults to be the best metric of all subordinate subnets, but it can also be explicitly set, ruling out another of the possible answers. In short, this LSA can represent a route summarized by the area range command, but that fact cannot be proved or disproved by the output as shown.
Router R1, an ASBR connected to the Internet and to backbone area 0, has been configured with a default-information originate command. Which of the following is true about the effects of this configuration command?
a. R1 will always create and flood a default route into the OSPF domain.
b. R1 will create and flood an LSA for prefix/length 0.0.0.0/0 into the OSPF domain
if R1’s IP routing table has a route to 0.0.0.0/0.
c. R1 will set a flag on the LSA for the subnet between itself and one of the ISPs, noting this subnet as a default network, regardless of whether R1 has a default route.
d. R1 will set a flag on the LSA for the subnet between itself and one of the ISPs, noting this subnet as a default network, but only if R1 has a route to 0.0.0.0/0.
B. Without the always parameter, the default-information originate command generates an LSA for a default route, with prefix 0.0.0.0/0, but only if its own IP routing table has a route for 0.0.0.0/0. It does not flag another LSA as being used as a candidate default route.
Which of the following are true about routers internal to a totally NSSA area? (Choose two.)
a. Routers cannot redistribute external routes into the area.
b. Routers should have zero Type 3 LSAs in their LSDBs.
c. Routers should have zero Type 5 LSAs in their LSDBs.
d. Routers should learn default routes from the ABRs attached to the area.
C and D. Both types of NSSA stubby areas allow the redistribution of external routes into an area, but these routes are advertised as Type 7 LSAs. As a totally NSSA, the ABR should flood no Type 5 LSAs into the area and flood no Type 3 LSAs into the area, except for the Type 3 LSAs used to advertise the default route into the area. As such, a router internal to a totally stubby area should see zero Type 5 LSAs and a small number of Type 3 LSAs for the default route(s) advertised by the ABR(s).
ABR R1 has been configured with an area 1 stub no-summary command. Which stubby area type is area 1?
a. Stub
b. Totally stubby
c. NSSA
d. Totally NSSA
B. The stub keyword means either a stub area or a totally stubby area. The no-summary command means that the area is totally stubby.
With an OSPFv3 Address Family configuration supporting both IPv4 and IPv6 routing, which of the following is true regarding OSPFv3’s link-state database?
a. IPv4 LSAs populate one database, while IPv6 LSAs populate a second database.
b. Information received from all LSAs is aggregated in a single link-state database.
c. OSPFv3 does not use a link-state database. Rather, it represents link-state information in a lookup table similar to Cisco Express Forwarding (CEF).
d. A virtual Address Family is created, and it contains information from both IPv4 and IPv6 LSAs.
B. With OSPFv3, a single OSPF process ID can service multiple Address Families. For example, a single OSPF process ID could support one Address Family performing IPv4 routing, while simultaneously supporting another Address Family performing IPv6 routing.
In an OSPFv3 Address Family configuration, how do you tell an interface to participate in the OSPFv3 process for IPv6 routes?
a. Router(config-router)# ospfv3 process_id ipv6 area area_number
b. Router(config-router-af)# ospfv3 process_id ipv6 area area_number
c. Router(config-router-af-if)# ospfv3 process_id ipv6 area area_number
d. Router(config-if)# ospfv3 process_id ipv6 area area_number
D. With Named EIGRP, all EIGRP configuration can be done under a single EIGRP virtual instance. However, with an OSPFv3 Address Family configuration, you have to enter interface configuration mode to instruct an interface to participate in the routing process. The command (issued in interface configuration mode) is ospfv3 process_id ipv6 area area_number.
Which LSA used in IPv6 networks carries information similar to the information carried by Type 1 and Type 2 LSAs in IPv4 networks?
a. Type 6 LSA
b. Type 8 LSA
c. Type 9 LSA
d. Type 10 LSA
C. OSPFv3 introduces two LSAs, Type 8 LSAs (called Link LSAs) and Type 9 LSAs (called Intra-Area Prefix LSAs).
The Type 8 LSAs, called Link LSAs, only exist on a local link, where they are used by a router to advertise its link-local address to all other routers on the same link. Additionally, the Type 8 LSA provides a listing of all IPv6 addresses associated with a link to routers on that link. OSPFv3 also uses the Type 8 LSA to set option bits for a specific network’s LSA.
A Type 9 LSA can send information about IPv6 networks (including stub networks) attached to a router (similar to the Type 1 LSA for IPv4 networks). Additionally, a Type 9 LSA can send information about transit network segments within an area (similar to the Type 2 LSA for IPv4 networks).
T/F: Intra-area routes use SPF algorithm and full topo info from Type1 and Type2 LSAs.
True
T/F: Inter-area routes use distance vector logic.
True.
Routers calculate inter-area routes by adding the metric that the ABR network advertised with the intra-area route metric to reach the ABR.
T/F: When OSPF advertises a route intra-area it includes the mask to support VLSM.
False. OSPF does not advertise routes, it advertises LSAs.
T/F: Why are Type 1 and Type 2 LSAs not permitted to be filtered?
Loops could result if the complete topology is not known. SPF relies on a complete set of LSAs.