Lecture OSPF Flashcards

(33 cards)

1
Q

What is OSPF?

A

OSPF (Open Shortest Path First) is a link-state routing protocol that uses the concept of areas and relies on bandwidth and delay to calculate the best path.

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

What are the different types of OSPF?

A

Single-area OSPF (uses area 0) and Multi-area OSPF.

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

What information does OSPF advertise?

A

Link-state information.

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

What tables does OSPF use and what are they built from?

A

Hello packets => Adjacency table
Database => Topology table
SPF => Routing table

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

What is a limitation of RIP that OSPF addresses?

A

RIP uses hop count as a metric, while OSPF uses bandwidth and delay.

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

Describe the Adjacency Database (Neighbor Table).

A

Lists all neighboring routers with bidirectional communication.
Unique for each router.
Viewed with show ip ospf neighbor.

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

Describe the Topology Table (Link-state Database).

A

Lists information about all routers in the network.
Represents the network topology.
Identical LSDB within an area.
Viewed with show ip ospf database.

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

Describe the Routing Table (Forwarding Database).

A

Lists routes generated by the SPF algorithm.
Unique for each router.
Contains information on how and where to send packets.
Viewed with show ip route ospf or show ip route.

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

What are the 5 OSPF packet types (LSAs)?

A

Hello
Database Description (DBD)
Link-State Request (LSR)
Link-State Update (LSU)
Link-State Acknowledgment (LSAck)

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

What is the purpose of Hello packets?

A

Discover neighbors and establish adjacencies.

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

What is the purpose of DBD packets?

A

Check for database synchronization between routers.

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

What is the purpose of LSR packets?

A

Request specific link-state records

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

What is the purpose of LSU packets?

A

Send specifically requested link-state records.

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

What is the purpose of LSAck packets?

A

Acknowledge other packet types.

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

List some LSA types.

A

Router LSAs (Type 1)
Network LSAs (Type 2)
Summary LSAs (Type 3 or 4)
Autonomous System External LSAs (Type 5)

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

List and describe OSPF router states.

A
  • Down State: No Hello packets received.
    -Init State: Router sends Hello packets, receives Hello packets with the sending router’s Router ID.
  • Two-Way State: Bidirectional communication, DR/BDR election on multiaccess links.
  • ExStart State: Routers decide who initiates DBD exchange and initial DBD sequence number.
  • Exchange State: Routers exchange DBD packets, may proceed to Loading or Full state.
  • Loading State: LSRs and LSUs are used to get missing information, SPF algorithm is run.
  • Full State: Link-state database is synchronized.
17
Q

What happens in the Two-Way State?

A

Communication becomes bidirectional, and DR/BDR election occurs on multiaccess links.

18
Q

What is DR and BDR?

A

DR (Designated Router) and BDR (Backup Designated Router) are elected on multiaccess networks to reduce the number of adjacencies.

19
Q

How is OSPF cost calculated?

A

Cost = reference bandwidth / interface bandwidth (Cost = 100,000,000 bps / interface bandwidth in bps)

20
Q

What are the types of IDs used in OSPF?

A

Process ID, Area ID, Router ID.

21
Q

What are some OSPF verification commands and what do they show?

A

show ip ospf neighbors: Verifies adjacency, shows neighbor’s IP, states, priority, and Router ID.
show ip protocols: Shows OSPFv2 process ID, Router ID, interface OSPF configuration, distance value.
show ip ospf: Shows OSPFv2 process ID and Router ID, area info, last SPF execution.
show ip ospf interface: Shows process ID, local Router ID, network type, OSPF cost, DR/BDR info, neighbors.
show ip route: Shows routing table, AD, metric (cost).

22
Q

How do you configure the OSPF reference bandwidth?

A

R1(config)# router ospf 10
R1(config-router)#auto-cost reference-bandwidth Mbps
(Adjust Mbps to the desired value)

23
Q

How do you manually set the OSPF cost on an interface?

A

R1(config)# interface g0/0
R1(config-if)#ip ospf cost value
(Replace g0/0 with the interface and value with the cost)

24
Q

How do you configure the OSPF Hello interval on an interface?

A

R1(config-if)#ip ospf hello-interval seconds
(Replace seconds with the desired interval)

25
How do you configure the OSPF Dead interval on an interface?
R1(config-if)#ip ospf dead-interval seconds (Replace seconds with the desired interval) [
26
How do you propagate a default route via OSPF?
R1(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0 R1(config)# router ospf 10 R1(config-router)#default-information originate (Ensure a static default route exists)
27
How do you configure the OSPF process ID?
R1(config)# router ospf 1 (Replace 1 with the desired process ID)
28
How do you announce a network in OSPF?
R1(config-router)# network 10.10.1.1 0.0.0.0 area 0 (Replace the network address, wildcard mask, and area ID as needed)
29
How do you configure a passive interface in OSPF?
R1(config-router)# passive-interface g0/1 (Replace g0/1 with the interface)
30
How do you configure the OSPF Router ID?
R1(config-router)#router-id 1.1.1.1 (Replace 1.1.1.1 with the desired Router ID)
31
How do you configure the OSPF priority on an interface?
R1(config-router)#ip ospf priority 200 (Replace 200 with the desired priority value)
32
How do you enable OSPF on a specific interface?
R1(config)# interface g0/0 R1(config-if)#ip ospf 10 area 0 (Replace the interface, process ID, and area ID as needed)
33
How do you configure the OSPF network type on an interface? (e.g., point-to-point)
R1(config)# interface g0/0 R1(config-if)#ip ospf network point-to-point (Replace g0/0 with the interface and point-to-point with the desired network type)