Lecture 8: Open Shortest Path First Flashcards

(28 cards)

1
Q

What does OSPF stand for?

A

Open Shortest Path First

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

What type of routing protocol is OSPF?

A

Link-state.

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

What metric does OSPF use?

A

Bandwidth (cost = reference bandwidth / interface bandwidth)

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

What’s the purpose of DR and BDR?

A

Reduce OSPF traffic on multi-access networks.

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

Command to start OSPF process with ID 1?

A

router ospf 1

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

Command to advertise a network in Area 0?

A

network <ip> <wildcard> area 0</wildcard></ip>

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

What is OSPF and how does it differ from RIP?

A

OSPF (Open Shortest Path First) is a link-state routing protocol that uses bandwidth to calculate the best path, rather than hop count like RIP. It converges faster, supports areas for scalability, and maintains a complete map of the network.

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

What are the limitations of RIP?

A

*Uses hop count as the only metric (max 15 hops).
*Slow convergence.
*No consideration of bandwidth or delay.
*Not scalable for large networks.

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

What are the main components/tables in OSPF and how are they built?

A

*Adjacency Table – built using Hello packets.
*Topology Table – contains LSAs from other routers.
*Routing Table – computed using SPF (Dijkstra) algorithm from the topology table.

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

What are Hello packets in OSPF and what are their default settings?

A

*Sent every 10 seconds by default.
*Used to discover and maintain neighbor relationships.
*If no Hello is received for 4 intervals (40s), the neighbor is considered dead.

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

What are LSAs and LSUs in OSPF?

A

LSA (Link-State Advertisement): Information about router links and metrics.
LSU (Link-State Update): Packet that carries LSAs to other routers.

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

What is the DR/BDR election and when is it used?

A

On multi-access networks (like Ethernet), OSPF elects:
*DR (Designated Router) – central point for LSA exchange.
*BDR (Backup Designated Router) – takes over if DR fails.
Election is based on router priority and Router ID.

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

How is OSPF cost calculated and why is it important?

A

Formula: Cost = Reference Bandwidth / Interface Bandwidth
*Default reference bandwidth = 100,000,000 bps (100 Mbps).
*Lower cost = better path.
Example:
10 Gbps ⇒ Cost = 1
1 Gbps ⇒ Cost = 100
100 Mbps ⇒ Cost = 1000

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

What are Process ID, Area ID, and Router ID in OSPF?

A

Process ID: Local identifier of an OSPF process (can be any number).

Area ID: Identifies an OSPF area (e.g., Area 0 = backbone).

Router ID: Unique 32-bit identifier (preferably highest IP, or manually set).

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

How do you start OSPF and advertise a network in Cisco IOS?

A

router ospf 1
network 10.10.1.1 0.0.0.0 area 0

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

How do you manually set the Router ID and interface priority?

A

router ospf 1
router-id 1.1.1.1
ip ospf priority 200

17
Q

How do you enable OSPF on an interface and specify area?

A

interface g0/0
ip ospf 10 area 0

18
Q

How do you set the OSPF network type to point-to-point?

A

interface g0/0
ip ospf network point-to-point

19
Q

How can you adjust the reference bandwidth in OSPF?

A

router ospf 10
auto-cost reference-bandwidth <Mbps></Mbps>

20
Q

How can you manually set the OSPF cost of an interface?

A

interface g0/0
ip ospf cost <value></value>

21
Q

How do you change the Hello and Dead Intervals on an interface?

A

interface g0/0
ip ospf hello-interval <seconds>
ip ospf dead-interval <seconds></seconds></seconds>

22
Q

How do you configure default route propagation in OSPF?

A

ip route 0.0.0.0 0.0.0.0 s0/0/0
router ospf 10
default-information originate

23
Q

What does show ip ospf neighbors command display?

A

Neighbor IP addresses.
Router IDs.
Adjacency states (e.g., FULL).
DR/BDR status.
Priority values.

24
Q

What info is shown with show ip protocols?

A

OSPF process ID.
Router ID.
Interfaces running OSPF.
Administrative distance.
Timers.

25
What does show ip ospf provide?
Router ID and OSPF process info. Area configuration. Last SPF execution time.
26
What does show ip ospf interface display?
OSPF-enabled interfaces. Cost values. Network type. DR/BDR info. Neighbor IDs.
27
What does show ip route show in the context of OSPF?
OSPF routes (O prefix). Administrative distance (default 110). Metric (cost). Next-hop information.
28