OSPF COPY Flashcards

1
Q

What are LSA used for?

A

Build a LSDB

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

Who will OSPF routers form a FULL adjacency with?

A

Designated Router and Backup Designated Router.

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

Who does a OSPF router send its LSA to?

A

Designated Router only.

DR distributes to all other routers.

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

What tpye of network would you have DR/BDR and what network would you not have a DR/BDR?

A

Multi-access Network requiers a DR/BDR. Point-to-Point does not requier a DR/BDR.

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

What is used to calculate the best path of the LSDB?

A

Shortest-path first Algorithm SPF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  • ID ABR
  • ID ASBR
  • Why is it a ABR?
  • Why is it a ASBR?
A

ABR are between two area’s and can summarize routes from one area to another. ASBR are routers that run OSPF and connect to another network that runs another routing protocol.

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

What is in an OSPF Hello Packet?

A
  • Router ID
  • Hello/Dead Interval *
  • Neighbors
  • Area ID *
  • Router Priority
  • DR IP
  • BDR IP
  • Authentication
  • Password*
  • Sub Area Flag
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What metric does OSPF use?

A

Cost=Reference BW/Interface BW

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

How to change the Reference B/W?

A

(config)#router ospf 1

(config-router)# auto-cost reference-bandwidth 1000

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

What is the default Reference Bandwith for OSPF

A

100 Mbits

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

What does OSPF do if it has 2 path with equal cost?

A

Load-Balance

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

What are the Max Load Balance paths of IOS 12

A
  • 16 Paths

(32 for IOS 15)

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

What does the network command do while under the router ospf 1 process.

(conf-router)# network 10.10.10.0 0.0.0.255 area 0

A
  • Advertise the networks that fall within this range in OSPF.
  • Activate OSPF on the interface(s) that fall within this range. This means that OSPF will send hello packets on the interface.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is used as the router ID in OSPF?

A
  1. Loopback interface
  2. highest active IP

or set manualy.

(conf-router)#router-id x.x.x.x

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

How do you change the COST of a OSFP link?

A

ip ospf cost 50

within the interface use the command.

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

How would you make all routers send there unknow traffic to you.

A
  • Advertise a default router.
  • (config-router)# default-information originate [always]
17
Q

How would you configure clear text Authentication in OSPF?

A

R1(config)#interface fastEthernet 1/0

R1(config-if)#ip ospf authentication

R1(config-if)#ip ospf authentication-key password

18
Q

How would you configure MD5 Authentication in OSPF?

A

R3(config)#interface fastEthernet 1/0

R3(config-if)#ip ospf authentication message-digest

R3(config-if)#ip ospf message-digest-key 1 md5 0 password

19
Q

What does this output of the show ip route mean.

O IA 4.4.4.4 [110/3] via 192.168.12.2, 00:00:54, GigabitEthernet0/1

A
20
Q

How many States does OFPF go through to become Neighbors?

A

7

21
Q

What are the 7 States that OSPF goes through to become neighbors?

A
  1. Down: no OSPF neighbors detected at this moment.
  2. Init: Hello packet received.
  3. Two-way: own router ID found in received hello packet.
  4. Exstart: master and slave roles determined.
  5. Exchange: database description packets (DBD) are sent.
  6. Loading: exchange of LSRs (Link state request) and LSUs (Link state update) packets.
  7. Full: OSPF routers now have an adjacency.
22
Q

What are the OSPF Packet Types?

A
23
Q

What Two Multicast Address does OSPF Send to?

A
  1. 0.0.5 - goes to All routers
  2. 0.0.6 - goes to DR & BDR
24
Q

When a Router in OSPF is not a DR or BDR, what is it called?

A

DROTHER

25
Q

True or False

DR/BDR election is per multi-access segment…not per area!

A

True

26
Q

Explain in the picture why you would not want to advertise OSPF out of interface FA0/1?

A

It is a security risk. anyone could become neighbors and inject routes.

27
Q

What is a LSA Type 1 ?

A
28
Q

What is a LSA Type 2?

A

The network LSA or type 2 is created for each multi-access network. Remember the OSPF network types? The broadcast and non-broadcast network types require a DR/BDR. If this is the case you will see these network LSAs being generated by the DR. In this LSA we will find all the routers that are connected to the multi-access network, the DR and of course the prefix and subnet mask.

29
Q

What is a type 3 LSA?

A

R2 will take the Type 1 message and create a type 3 summary LSA and flood it to Area 0

30
Q

What is a type 4 LSA?

A

In this example we have R1 that is redistributing information from the RIP router into OSPF. This makes R1 an ASBR (Autonomous System Border Router). What happens is that R1 will flip a bit in the router LSA to identify itself as an ASBR. When R2 who is an ABR receives this router LSA it will create a type 4 summary ASBR LSA and flood it into area 0. This LSA will also be flooded in all other areas and is required so all OSPF routers know where to find the ASBR.

31
Q

What is a Type 5 LSA?

A

Same topology but I’ve added a prefix (5.5.5.0 /24) at our RIP router. This prefix will be redistributed into OSPF. R1 (our ASBR) will take care of this and create a type 5 external LSA for this. Don’t forget we still need type 4 summary ASBR LSA to locate R1. If you ever tried redistribution with OSPF you might have seen O E1 or E2 entries. Those are the external prefixes and our type 5 LSAs.

32
Q

What are type 7 LSA?

A

NSSA areas do not allow type 5 external LSAs. In my picture R1 is still our ASBR redistributing information from RIP into OSPF.

Since type 5 is not allowed we have to think of something else. That’s why we have a type 7 external LSA that carries the exact same information but is not blocked within the NSSA area. R2 will translate this type 7 into a type 5 and flood it into the other areas.