OSPF Flashcards

1
Q

Once adjacencies have been formed, OSPF will then start sending these out

A

DBD Packets (Database Description Packets)

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

A router will send out and listen for these when OSPF is enabled on an interface

A

OSPF Hello Packets

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

If a router is missing information about any of the networks it received in the DBD, it will send the neighbor one of these

A

LSR (Link State Request)

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

This is the step when adjacent routers will tell each other the networks they know about with this type of packet

A

DBD (Database Description Packets)

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

These packets contain routing updates

A

LSA (Link State Advertisement)

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

These packets contain a list of Link State Advertisements (LSAs) which should be updated and that will be used during flooding

A

LSU (Link State Update)

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

This is a routers response to a Link State Request (LSR) asking for more information

A

Link State Advertisement (LSA)

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

Scenario: If a new link was added to the network or if a link went down and new information needs to get flooded everywhere so all routers can know about it this type of packet would be processed

A

LSU (Link State Update)

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

Receiving routers acknowledge Link State Advertisements (LSA) through these types of packets

A

LSAck (Link State Acknowledgement)

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

OSPF sends Hello Packets using Broadcast

A

False. Hello Packets use Multicast

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

What are the 6 Steps / Characteristics of OSPF?

A
  1. Discover Neighbors
  2. Form Adjacencies
  3. Flood the Link State Database
  4. Compute the Shortest Path
  5. Install the Best Routes Into The Routing Table
  6. Respond to Network Changes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What will happen if a router running OSPF has 2 interfaces with different Process IDs?

A

It will not share information about it’s routes with either side of the link due to separate Link State Databases

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

Does the network command in OSPF default to the classful boundary?

A

No. That’s one of the differences between OSPF and EIGRP

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

Do you have to enter a wildcard mask in OSPF?

A

Yes

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

What is a simple OSPF configuration?

A

router ospf 1
network 10.0.0.0 0.0.255.255 area 0

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

If a network contained routers with interfaces such as:

10.1.0.1/24
10.0.1.1/24
10.0.2.1/24

And you configured a network command for OSPF as:

network 10.0.0.0 0.0.255.255 area 0

What networks would get advertised in the routing table?

A

10.0.1.0/24
10.0.2.0/24

10.1.0.0 would not be advertised because it doesn’t match the 10.0.X.X space that the network command is looking for.

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

Use this command to see if neighbor routers have peered and formed an adjacency

A

show ip ospf neighbor

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

What are the commands to enter a Router ID for OSPF?

A

router ospf 1
router-id {router id}

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

If you need to restart OSPF what command can you use?

A

clear ip ospf process

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

What are the commands for a passive loopback interface in OSPF?

A

router ospf 1
passive-interface loopback0

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

How would you set all interfaces to passive on a router using OSPF?

A

router ospf 1
passive-interface default

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

What are the commands to enter a default route injection into OSPF?

A

ip route 0.0.0.0 0.0.0.0 {next-hop-address}
router ospf 1
default-information originate

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

This is the top level or Area 0 when it comes to OSPF routers

A

The Transit Area or Backbone

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

For a router to form a full adjacency with a neighbor, it must be configured in the same what?

A

Area

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

Routers maintain only summary information of other routers and links in their own area. True or False?

A

False. They maintain a full LSDB of other routers and links in their Area

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

Routes received from other routers in the same area appear as what kind of routes?

A

Intra-Area Routes

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

Inter-Area routes show up as what in the routing table?

A

O-IA

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

O*E2 means what in the OSPF routing table?

A

It’s an external route that has been redistributed in OSPF

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

If you have loopbacks as Router ID’s then you need to do what to integrate them into OSPF when using a multi-area network?

A

Make sure you target them to be in the same area in your OSPF network statements

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

Will the cost of an OSPF link be based on the area it’s in rather than the topology as a whole?

A

Yes

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

If an OSPF Router has interfaces in multiple areas it’s considered a what?

A

Area Border Router (ABR)

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

Routers with interfaces in multiple areas will have full LSDB information for networks in both areas. True or False

A

True

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

Scenario: Area 0 is the backbone and then there are 2 ABR routers connected in Area 1 and Area 2. Do Area 1 and 2 have full LSDB information?

A

No, only summary information

34
Q

What is the chief characteristic of an ABR?

A

It separates the LSA Flooding Zones

35
Q

If you don’t do summarization on ABR’s what will occur?

A

The same amount of targeted routes will show up in the routing table thus making using an OSPF Multi-Area network useless. You need summary routes to make sure that it’s targeting a broader range so the routers don’t respond to specific changes on one link or path

36
Q

If you’re configuring an OSPF multi-area setup, what is/are the commands that would come after the network commands?

A

The targeted area commands that specify the summary range

area 1 range 10.0.0.0 255.255.0.0

37
Q

Routers which have all of their OSPF interfaces in an area and are not in a backbone are considered what?

A

Normal Area Routers

38
Q

How do Normal Area Routers learn their routes

A

From the ABRs

39
Q

What kind of routes do Normal Area Routers learn from ABRs?

A

Inter-Area Routes

O-IA

40
Q

This type of router redistributes routes from different routing protocols into OSPF Normal Area Routers

A

Autonomous System Boundary Router (ASBR)

41
Q

The rate at which Ethernet interfaces physically transmit data is determined by what command?

A

Speed

42
Q

If you set an interface to a speed 10 command, how fast will the interface transmit data?

A

10Mbps

43
Q

True or False - both side of the link must be configured to the same speed otherwise you will encounter transmission issues.

A

True

44
Q

What is clock rate?

A

The rate at which serial interfaces physically transmit data

45
Q

What speed do serial interfaces physically transmit data by default?

A

1.544Mbps

46
Q

Do serial clock rate commands have to be set to match on both sides of the link?

A

Yes

47
Q

What is the difference between Speed and Bandwidth?

A

Bandwidth is not tied to the physical speed at which data will be transferred. Speed is.

48
Q

If you set the bandwidth to 50Mbps on a Gigabit interface, how fast will the data be transmitted and why?

A

1000Mpbs. This is because the Bandwidth command doesn’t actually affect the physically transmissible speed of the link

49
Q

Why use the bandwidth policy if it doesn’t affect the physical speed transmission of the link?

A

Because it influences software policy. For example if you had a router with two interfaces going to separate paths and you wanted to influence which path it takes and it not do ECMP then you could set the bandwidth of that path to something lower than the other path. Thus, the other route would be preferred.

50
Q

How does OSPF determine overall cost of a particular path?

A

It’s based on the cumulative cost of all outgoing interfaces

51
Q

What is the equation to calculate the cost of a link?

A

Reference bandwidth divided by interface bandwidth

52
Q

What is the default reference bandwidth?

A

100Mbps

53
Q

What cost do all interfaces (FastEthernet, GigabitEthernet, etc.) default to?

A

1

54
Q

What would the cost be for a GigabitEthernet interface taking into the equation 100/1000?

A

It would still be 1 because OSPF Cost defaults to 1. It can’t go below 1.

55
Q

How would you change the reference bandwidth in OSPF?

A

auto-cost reference-bandwidth {speed}

56
Q

Why would you set a reference bandwidth cost to 100000?

A

The goal here is to get the reference bandwidth high enough to where you don’t have to change it if you bandwidth links get changed and upgraded over time

57
Q

When you change the reference bandwidth on one router what do you need to make sure you do?

A

Change it all every other router to ensure they are all using a consistent metric

58
Q

What is more desirable - to manipulate the cost or the bandwidth on interfaces?

A

It’s more desirable to manipulate the cost because the bandwidth setting might affect other features other than OSPF such as QoS, etc.

59
Q

How would you manipulate the cost of an OSPF interface?

A

interface {interface}
ip ospf cost {cost metric}

60
Q

How would you view the cost of an OSPF interface?

A

show ip ospf interface {interface}

61
Q

What are the general steps for Neighbor State Summary?

A
  1. Down - No active neighbor detected
  2. Initilialization - Hello packets sent and received by neighbors
  3. 2 WAY - Bi-Directional communication. Can see it’s own router ID received in Hello packets
  4. Exstart - Primary and secondary roles determined
  5. Exchange - DBD packets sent
  6. Loading - Exchange of LSRs and LSU (With LSAs within the LSU)
  7. Full - Neighbors full adjacent
62
Q

What is the OSPF Multicast Address?

A

224.0.0.5

63
Q

What is the default Hello interval?

A

10 Seconds

64
Q

What is the default Dead interval?

A

40 Seconds

65
Q

What settings must be matched for a pair of OSPF routers to form an adjacency?

A
  • They must be in each other’s neighbor list
  • Hello & Dead Intervals
  • Area ID
  • IP Subnet
  • Authentication Flag
  • Stub Area Flag
  • MTU and MTU IP Size
66
Q

What does MTU affect?

A

All Packets

67
Q

What does IP MTU affect?

A

Only affects IP Packets

68
Q

What is the command for viewing an IP MTU

A

show ip interface {interface}

69
Q

What is the protocol number in a Layer 3 Packet Header for an OSPF Packet?

A

89

70
Q

What does an OSPF Packet look like?

A
  • Version of OSPF
  • Packet Type
  • Packet Length
  • Router ID
  • Area ID
  • Checksum
  • Auth Type
  • Authentication
  • Data
71
Q

On point to point links, OSPF routers form a Two Way Only Adjacency?

A

False. They form a full adjacency

72
Q

All Routers share their information with this type of router and then this router in turn shares information to ALL routers

A

DR Designated Router

73
Q

If the DR goes down what takes it place?

A

The BDR Backup Designated Router

74
Q

If a router isn’t considered a DR or BDR then what is it considered?

A

A DROTHER

75
Q

How does a DR get elected?

A

It has the highest priority. In which case either the Router ID is the highest or it’s been manually to set to have a higher OSPF priority on the interface.

Highest Loopback Address
or
Highest Router IP Address
or
Manually Configured in OSPF

76
Q

In what OSPF stage do routers get elected?

A

The Two Way Stage

77
Q

What the is the default priority on OSPF routers?

A

1

78
Q

What commands would you use to set a manual priority for a router to force it to be the DR?

A

interface {int}
ip ospf priority {priority-value}

79
Q

What states are two DROTHERS considered be in?

A

A Two Way State

80
Q

What is the multicast address that the DR and BDR are listening in on for updates?

A

224.0.0.6

81
Q

After a DR receives multicasted updates on 224.0.0.6 what multicast address will it send those updates out of to the DROTHER routers?

A

224.0.0.5

82
Q

What command would you use to verify a DR and a BDR?

A

show ip ospf int {interface}

OR

show ip ospf neighbor