Ch 9 - Advanced OSPF Concepts Flashcards

1
Q

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.

A

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.

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

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.

A

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.

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

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

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.

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

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).

A

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.

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

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.

A

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.

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

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.

A

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.

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

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.

A

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).

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

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

A

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.

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

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.

A

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.

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

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

A

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.

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

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

A

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).

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

T/F: Intra-area routes use SPF algorithm and full topo info from Type1 and Type2 LSAs.

A

True

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

T/F: Inter-area routes use distance vector logic.

A

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.

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

T/F: When OSPF advertises a route intra-area it includes the mask to support VLSM.

A

False. OSPF does not advertise routes, it advertises LSAs.

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

T/F: Why are Type 1 and Type 2 LSAs not permitted to be filtered?

A

Loops could result if the complete topology is not known. SPF relies on a complete set of LSAs.

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

T/F: Type 3 LSAs can be filtered by ABRs.

A

True. Summary LSAs are allowed to be filtered.

17
Q

With this command, which of the following is true?

R1(config-router)# area 1 filter-list prefix my-filter-list out

a. subnets matched by my-prefix-list with a deny are filtered
b. acts on Type 3 LSAs
c. acts on LSAs being flooded out of the router into area 1
d. only affects prefixes destined for area 1, all others are unaffected
e. filters all Type 3 LSAs destined for area 1

A

a, b are true.

The parameter ‘out’ blocks all matched prefix list entries that match. The frame of reference is wrong here. The Area is the frame of reference, so LSAs going OUT of area 1 are blocked, before they go into the router that the filter is on. The matching routes will not show up in the route table of the filtering router.

18
Q

With this command, which of the following is true?

R1(config-router)# area 1 filter-list prefix my-filter-list in

a. subnets matched by my-prefix-list with a deny are filtered
b. acts on Type 3 LSAs
c. acts on LSAs being flooded into area 1
d. only affects prefixes destined for area 1, all others are unaffected
e. filters all Type 3 LSAs destined for area 1

A

a, b, c d are true.

19
Q

T/F: When filtering with distribute-list, filtering happens after SPF but before the route table insertion.

A

True. SPF needs to run to completion to guarantee loop free topos. Then you can filter all you want…

20
Q

What will these commands do?

prefix-list filter-1 seq 5 deny 10.16.0.0/24
prefix-list filter-1 seq 10 permit 0.0.0.0/32

router ospf 3
distribute list prefix filter-1 in

A

These will filter Type 3 LSAs that match 10.16.0.0/24 and permit any others to be added to the route table.

Interestingly,
** ‘show ip ospf database | in 10.16.1’ will show the route for 10.16.1.0/24 is in the database. But,

** ‘sh ip route ospf | in 10.16.1.0’ returns a null output. Route is filtered from being added to the route table.

This illustrates the fact that the filtering happens after SPF algorithm has done it’s complete calc, but before the routes are entered into the route table.

21
Q

What are Type 5 LSAs?

A

External LSAs. These are created by ASBRs.

22
Q

How many Type 5 LSAs does an ASBR create?

A

One for each redistributed subnet.

23
Q

What is used for the LSID of a Type 5 LSA?

A

Type 5 LSAs list the subnet number as the LSID. The mask is listed as one of the fields.

24
Q

What is listed in a Type 5 LSA as the advertising router?

A

The RID of the ASBR is listed as the advertising router.

25
Q

T/F: A pre-calculated cost metric is included with a Type 5 LSA.

A

True. Exactly like a Type 3 Summary LSA.

26
Q

The commands ‘summary-address’ and ‘area-range’ are used for:

a. manual summary at ABR and ASBR, respectively.
b. manual summary at ASBR and ABR, respectively.
c. manual route summarization and route filtering.
d. none of the above

A

b.

These commands are almost identical but operate on different types of routers in OSPF.

27
Q

What is the ultimate route summary that summarizes every IPv4 prefix and length?

A

0.0.0.0/0

28
Q

What command can an ABR use to flood a default route into a single area?

A

‘area range’ command.

‘area 0 range 0.0.0.0 0.0.0.0’ - On an ABR, this command will flood a default route into area 0 as a type 3 LSA. It would also not advertise any of the other Type 3 LSAs known in Area 0

29
Q

What command tells OSPF to create a T5 LSA with an External Type 2 default route, 0.0.0.0/0, and flood it like any other LSA of Type 5?

A

default-information originate

The router must have a 0.0.0.0/0 route first and typically this is done with ASBRs to forward internet bound traffic to an ISP. Default metric is 1.

Note: ‘always’ parameter will force advertisement even if there is no def route.

30
Q

Which of the following are true about stubby areas?

a. T3 LSAs are filtered from stubby and NSSAs
b. T5 LSAs are filtered from totally stubby and totally NSSAs
c. T5 LSAs are filtered from all stubby area types
d. T3 LSAs are filtered from all stubby area types
e. T3 LSAs are filtered from totally stubby areas
f. T5 LSAs are filtered from totally stubby areas

A

b, c, e, and f are true.

All stubby area types have Type 5 LSAs filtered.

Totally stubby and totally NSSA have Type 3 LSAs filtered.

31
Q

What does this command do?

area 3 default-cost 91

A

This command sets the default route metric for area 3 to 91.

32
Q

T/F: There are no neighbor relationships in stubby area other than to the ABR.

A

False. All routers in a stubby area should be configured as stubby routers and if so, will form neighborships.

33
Q

What is the command to configure a totally stubby NSSA on a router that is not an ABR?

a. area 34 nssa stub no-summary
b. area 34 nssa stub totally
c. area 34 nssa default-information-originate
d. area 34 nssa no summary
e. area 34 nssa

A

d.

34
Q

What is the command to configure a stubby area in area 34?

A

area 34 stub (on each router in the area)

area 34 stub no summary would create a totally stubby area.

35
Q

What is the command to create a NSSA on an ABR in area 34?

A

area 34 nssa default-information-originate

ABRs require the addtion of default-information-originate.

36
Q

what is the command to configure a totally stubby area in area 34?

A

area 34 stub no-summary