OSPF Flashcards

1
Q

What layer 4 protocol does OSPF use?

A

IP protocol 89

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

What address does OSPF send to?

A

224.0.0.5

On a segment with a DR, routers send multicast updates to 224.0.0.6.

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

What unit belongs to an area?

A

A link (interface)

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

What is area zero?

A

Area zero is the backbone. Updates to other areas must flow through area zero to be transmitted.

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

What is a type 1 LSA?

A

A type 1 router LSA is sent by all routers to describe their links. It is flooded to all routers in an area.

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

What happens if a router receives a new LSA?

A

It must rebuild its database and re-run the SPF algorithm.

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

What is an ABR?

A

Area border routers (ABR) span multiple areas, one of which must be the backbone area zero.

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

What is the LSDB?

A

The link state database (LSDB) is the name of the OSPF topology database.

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

How are the LSDBs of routers in the same area related?

A

They must all match within an area.

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

How do routers learn of routes in other areas?

A

The ABR floods a type 3 summary LSA into the area.

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

How is the OSPF process id significant?

A

It is only locally significant and does not have to match between neighbors.

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

What happens if a route matches multiple network statements with different areas?

A

The most specific network statement will win.

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

What command will show the areas that interfaces belong to?

A

sh ip ospf interfaces

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

How is the router-id determined?

A

The highest up/up loopback interface IP address is used, or the highest up/up physical address if no loopback is available.

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

What will make a router-id change go into effect?

A

If the router has no neighbors, it becomes immediately active.

Otherwise, the ospf process or the router must be reloaded.

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

What does “2WAY” neighborship indicate?

A

The routers are adjacent but have not exchanged topology information. This will occur on networks with a DR.

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

What side effect does adding an OSPF command to an interface have?

A

It will create the router configuration for that OSPF process if none exists.

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

What five things must match for a full adjacency to form?

A
Hello and dead interval
Area ID
Subnet mask and MTU of the shared link
Stub area flag
Authentication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

On a multiaccess link, what additional information do Hellos include?

A

The hello packet includes the router-ids of all neighboring routers and the IP addresses of the DR and BDR.

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

Give the command to show the OSPF timers on an interface.

A

sh ip ospf interface s0/0

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

Give the commands to set the hello and dead intervals on an interface.

A

interface Serial0/0
ip ospf hello-interval #
ip ospf dead-interval #

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

How can sub-second hello timers be configured?

A

interface Serial0/0
ip ospf dead-interval minimal hello-multiplier $x

Where $x is the number of Hellos per second.

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

What is a better option for sub-second convergence than sub-second hello timers?

A

Bidirectional forwarding detection (BFD)

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

Can two routers with the same router-id become neighbors?

A

No, and they will not accept each others’ LSAs.

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

What behavior will result from a mismatch in MTU sizes?

A

The routers will get as far as EXSTART and then go down before they exchange LSAs. A log message will state the neighborship went from “EXSTART to DOWN: too many retransmissions.”

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

Where is the MTU for a link advertised?

A

In the database description packets sent after the Hellos during adjacency formation.

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

Give the OSPF states completed to form full adjacency.

A
Down
Attempt (static neighbor only)
Init
2-way
Exstart
Exchange
Loading
Full

Do I need 2 entertain every leaving faculty?

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

List the OSPF authentication types.

A

0 - no authentication
1 - plain text
2 - MD5

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

What error message is displayed for mismatched authentication?

A

No error is displayed, only debug messages.

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

Which OSPF packets include authentication information?

A

The authentication information is in the header of every packet.

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

What determines the OSPF network type?

A

layer 2 encapsulation

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

What is the default network type for Ethernet?

A

broadcast

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

What is the default network type for a physical interface configured with frame-relay encapsulation?

A

non-broadcast (multiaccess)

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

What network types are available for frame relay sub-interfaces?

A

“point-to-point” or “multipoint” (point-to-multipoint NBMA)

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

What is the metric cost for a T1 link?

A

64

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

What is the metric cost for an ethernet link?

A

10

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

What is the metric cost for a fast ethernet link?

A

1

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

How is metric cost calculated?

A

Reference-bandwidth divided by interface bandwidth

10^8 (100,000,000) / bandwidth in bits

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

Name the five OSPF packet types.

A
  1. Hello
  2. Database description
  3. Link state request
  4. Link state update
  5. Link state acknowledgement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

What is contained in a hello packet?

A

router-id, router priority, area, neighbors, DR and BDR, hello and dead intervals, authentication, and stub area info

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

How is the DR determined?

A

By the highest router priority, then highest router-id

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

What is the default router priority?

A

1

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

Give the command to set the router priority.

A

interface Ethernet0/0

ip ospf priority #

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

Give the command to view all type 2 LSAs.

A

sh ip ospf database network

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

What is the first LSA sequence number?

A

80 million (80,000,000) in hex

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

Give the command to limit the number of LSAs.

A

router ospf 1

max-lsa #

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

What happens if the maximum number of LSAs is reached?

A

The router will send a notification message when the maximum is reached, then a warning when it’s exceeded. After one minute of exceeded LSAs, it will tear down all adjacencies and go silent on all OSPF interfaces for that process for the duration of the ignore-time configured.

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

What does an ATTEMPT status indicate?

A

This is only seen with statically configured neighbors. The router has begun sending hellos but has not yet received anything in return.

49
Q

What does an INIT status indicate?

A

The router has received a hello from the neighbor but did not see its own router-id listed in the neighbors.

50
Q

What does a 2WAY status indicate?

A

The router has received a hello from the neighbor that included its own router-id. This is the furthest any router will go with a non-DR/non-BDR router on a multiaccess segment.

51
Q

Under what types of networks does OSPF elect a DR/BDR?

A

On any multiaccess networks - broadcast or non-broadcast

52
Q

What does an EX-START status indicate?

A

The first database description has been sent

53
Q

Give a high-level summary of the steps involved in becoming fully adjacent, starting after 2WAY status.

A

Each router sends database descriptions (summaries), looks for LSAs in the neighbors’ descriptions that are unknown or newer, requests those interesting LSAs, and sends any LSAs requested.

54
Q

What occurs in the EX-START state?

A

The first database descriptions are sent. These are empty with the init bit set and are used for the purposes of determining master/slave. The higher router-id will also become the master and generate the first sequence number, which both will use.

55
Q

Are database descriptions sent unicast or multicast?

A

unicast

56
Q

What occurs in the EXCHANGE state?

A

Both routers send their database descriptions. Each one includes the More bit until the last one, and all LSA descriptions have been sent.

57
Q

What occurs in the LOADING state?

A

The routers sent unicast link stat requests, then receive unicast LSUs with the requested LSAs. These are acknowledged.

58
Q

Which routers listen on 224.0.0.6?

A

The DR and the BDR

59
Q

Which routers listen on 224.0.0.5?

A

All OSPF routers, including DR and BDR

60
Q

Which addresses are used when a router needs to share an update in a multiaccess network?

A

The originating router sends the update to 224.0.0.6, then the DR sends an update to 224.0.0.5. The receiving routers ACK to 224.0.0.6, except the BDR, which ACKs to 224.0.0.5.

61
Q

Give the order for route selection priority.

A

My area, inter-area, external type 1, external type 2, nssa type 1, nssa type 2

O > IA > EX1 > EX2 > N1 > N2

62
Q

Does receiving a type 3 LSA force a SPF recalculation?

A

No

63
Q

Give three ways to change the OSPF cost.

A

change the reference bandwidth, set the bandwidth of an interface, or change the cost directly

64
Q

What is the default reference bandwidth and value?

A

FastEthernet - 10^8 or 100,000,000 (100 million)

65
Q

Bandwidths above which speed are all cost one?

A

FastEthernet and above

66
Q

Give the command to change the reference bandwidth.

A

router ospf 100

auto-cost reference-bandwidth

67
Q

Give the command to change the cost of an interface.

A

interface FastEthernet0/0

ip ospf cost #

68
Q

Give the command to show the cost of all interfaces.

A

sh ip ospf interface brief

69
Q

What impact do in and out filtering have on an ABR?

A

Inbound filtering will stop the type 3 summary LSA from being sent to any other areas. Outbound filtering will stop the type 3 summary LSA from being sent to a specific area.

70
Q

If an ABR performs filtering, what action will this cause?

A

This will stop the Type 3 LSA from being formed and flooded out.

71
Q

Give the command to filter on an ABR.

A

router ospf 100

area # filter-list prefix in/out

72
Q

In a prefix-list being used with the filter-list command, what actions occur with “permit” and “deny”?

A

Permit will allow type 3 summary LSAs to be created; deny will not allow them to be created

73
Q

Where should a filter-list “in” versus a filter-list “out” be applied?

A

A filter-list “in” will prevent type 3 summary LSAs from being created in this area. A filter-list “out” will stop any type 3 summary LSAs for any areas being created from this area.

74
Q

What inputs does the filter-list command accept for matching?

A

prefix-list only

75
Q

Where can a filter-list be applied that an “area…range…not-advertise” cannot?

A

A filter-list can be applied on any ABR. The “…not-advertise” command only works on the ABR within the area that contains the subnet in question.

76
Q

Give the command to stop a network from leaving its area as a type 3 summary LSA.

A

router ospf 100

area # range x.x.x.x y.y.y.y not-advertise

77
Q

How is a distribute-list used differently between EIGRP and OSPF?

A

In both, the distribute list keeps routes from entering the routing table. In EIGRP, the routing table is used to generate updates, but in OSPF, it is the link-state database. So, OSPF cannot prevent advertisement by using a distribute-list.

78
Q

What directions can a filter-list impact OSPF? What directions can a distribute-list impact OSPF?

A

Filter-list can be in or out. Distribute-list is in only.

79
Q

What are two requirements for performing summarization with OSPF?

A

The router must be an ABR or ASBR, and it must include at least one subnet live that’s included in the summary.

80
Q

Give the command to summarize a network in OSPF.

A

router ospf 100

area # range x.x.x.x y.y.y.y

81
Q

With an OSPF LSA summarization, how is the cost determined if not explicitly specified?

A

The cost is taken from the lowest LSA matching inside the summary.

82
Q

What area should be used with an OSPF summarization using “area # range…”?

A

The area where the LSAs to be summarized exist.

83
Q

What makes a router an ASBR?

A

An autonomous system border router redistributes routes from another protocol (static, EIGRP, etc.) into OSPF.

84
Q

Which routers can summarize redistributed routes?

A

The originating ASBR only. The ABR for the area cannot.

85
Q

Explain the difference between the “area # range…” and “summary-address” commands.

A

“Area # range…” is used for summarizing OSPF LSAs on ABRs. “Summary-address” is used on ASBRs to summarize non-OSPF routes.

86
Q

Give the command to summarize redistributed routes on an ASBR.

A

router ospf 100

summary-address x.x.x.x y.y.y.y

87
Q

Give two ways to inject a default route into OSPF.

A

“default-information originate” or make an area a stub

88
Q

What does ‘default-information originate’ do?

A

It will create an LSA for a default route from whatever the default route is in the routing table, regardless of which protocol it originated from.

89
Q

What type of LSA is generated as a result of “default-information originate”, and what is the default cost?

A

A type 5 external LSA with a sub-type 2 route. The default cost is one.

90
Q

Give the commands to change the sub-type of LSA and cost with a default route.

A

default-information originate metric-type 1/2

default-information originate metric #

91
Q

How can a default route only be advertised under certain conditions?

A

A default route can be advertised only when route-map criteria are met, if so desired.

default-information originate route-map

92
Q

Do all routers in an area have to be configured as stub routers? Do all routers in an area have to be configured as totally stubby areas?

A

Yes, all routers must be stub routers.

No, only the ABR must be configured to indicate the stub area is totally stubby.

93
Q

Can a stub area include an ASBR?

A

No, because no type 5 external network LSAs are permitted.

94
Q

Give the command to configure a stubby area.

A

router ospf 100

area # stub

95
Q

Give the command to configure a totally stubby area.

A
  • ABR Only *

router ospf 100
area # stub no-summary

96
Q

Give the four stub area types.

A

stub, totally stubby, not so stubby, totally not-so-stubby

97
Q

Which stub types receive type 3 LSAs?

A

Stubby and not-so-stubby areas receive type 3 summary LSAs.

98
Q

Give the command to change the cost of the default route sent into a totally stubby area.

A

router ospf 100

area # default-metric #

99
Q

What type of LSA is sent into totally stubby areas as a default route and what is the default metric?

A

A type 3 summary LSA with a metric of one.

100
Q

Can type 5 LSAs be filtered with a filter-list?

A

No, type 5 external LSAs cannot. They are flooded to every router except stub areas.

101
Q

What is a NSSA?

A

A not-so-stubby area is a stub area that can contain an ASBR.

102
Q

What type of LSAs do ASBRs in NSSA areas send?

A

type 7 NSSA external LSAs

103
Q

Which type 3 LSAs do totally stubby and totally not-so-stubby areas receive?

A

The default route only as a type 3 summary LSA

104
Q

Give the command to turn an area into a NSSA.

A

router ospf 100

area # nssa

105
Q

Give the command to turn an area into a totally NSSA.

A
  • ABR only *

router ospf 100
area # nssa no-summary

106
Q

What is a virtual link used for?

A

A virtual link is used to extend area zero by joining two ABRs that do not connect over area zero.

107
Q

What is a prerequisite for two routers to share a virtual link?

A

They must have a common area (that is not area zero and is not a stub area).

108
Q

How are virtual link packets sent?

A

unicast

109
Q

What address is used to terminate a virtual link?

A

the router-id

110
Q

How long do LSAs sent over a virtual link last before aging out?

A

They do not age. The LSAs are not periodically re-sent.

111
Q

Give the command to configure a virtual link.

A

router ospf 1

area # virtual-link

112
Q

What area number should be used in a virtual link configuration?

A

The transit area that both routers share.

113
Q

Give the command to see virtual links.

A

sh ip ospf virtual-links

114
Q

Give the command to configure plaintext authentication over a virtual-link.

A

router ospf 100

area # virtual-link x.x.x.x authentication-key Cisco

115
Q

Give the command to configure md5 authentication over a virtual-link.

A

router ospf 100

area # virtual-link x.x.x.x authentication message-digest message-digest-key # md5

116
Q

Give four ways to change the routing path amongst areas.

A
  1. cost on the interface
  2. summary route
  3. filtering
  4. change metric type (type 1 vs. type 2)
117
Q

Give three ways to change the routing path within an area.

A
  1. change the reference bandwidth (auto-cost reference)
  2. change the bandwidth of an interface
  3. change the cost of an interface
118
Q

How often are Hellos exchanged on a virtual-link?

A

They stop being exchanged after the link is initialized.